class K8S::Api::Networking::V1::IPBlock

Overview

IPBlock describes a particular CIDR (Ex. "192.168.1.1/24","2001:db9::/64") 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. 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.19/api/networking/v1/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? = 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]