class Pyrite::Api::Networking::V1::IPBlock
- Pyrite::Api::Networking::V1::IPBlock
- Pyrite::Kubernetes::Spec
- Reference
- Object
Overview
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. 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.)
Defined in:
versions/v1.14/api/networking/v1/ip_block.crConstructors
-
.new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
IPBlock describes a particular CIDR (Ex.
-
.new(pull : JSON::PullParser)
IPBlock describes a particular CIDR (Ex.
- .new(*, cidr : String, except : Array? = nil)
Instance Method Summary
Constructor methods inherited from class Pyrite::Kubernetes::Spec
new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)new(pull : JSON::PullParser) new
Constructor Detail
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. 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.)
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. 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.)