class K8S::Api::Networking::V1::IPBlock
- K8S::Api::Networking::V1::IPBlock
- Reference
- Object
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
- JSON::Serializable
- YAML::Serializable
Defined in:
versions/v1.22/api/networking/v1/ip_block.crConstructors
- .new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
- .new(pull : JSON::PullParser)
- .new(*, cidr : String, except : Array? = nil)