class K8S::Api::Extensions::V1beta1::IPBlock

Overview

DEPRECATED 1.9 - This group version of IPBlock is deprecated by [networking/v1/IPBlock. IPBlock describes a particular CIDR (Ex. "192.168.1.1/24") that is allowed to the pods matched by a NetworkPolicySpec's podSelector. The except entry describes CIDRs that should not be included within this rule.](networking/v1/IPBlock. IPBlock describes a particular CIDR (Ex. "192.168.1.1/24") that is allowed to the pods matched by a NetworkPolicySpec's podSelector. The except entry describes CIDRs that should not be included within this rule.)

Included Modules

Defined in:

versions/v1.11/api/extensions/v1beta1/ip_block.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(ctx : YAML::ParseContext, node : YAML::Nodes::Node) #

[View source]
def self.new(pull : JSON::PullParser) #

[View source]
def self.new(*, cidr : String, except : Array(String)? = nil) #

[View source]

Instance Method Detail

def cidr : String #

[View source]
def cidr=(cidr : String) #

[View source]
def except : Array(String)? #

[View source]
def except=(except : Array(String)?) #

[View source]