Structs

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.
NetworkPolicy describes what network traffic is allowed for a set of Pods
NetworkPolicyEgressRule describes a particular set of traffic that is allowed out of pods matched by a NetworkPolicySpec’s podSelector. The traffic must match both ports and to. This type is beta-level in 1.8
NetworkPolicyIngressRule describes a particular set of traffic that is allowed to the pods matched by a NetworkPolicySpec’s podSelector. The traffic must match both ports and from.
NetworkPolicyList is a list of NetworkPolicy objects.
NetworkPolicyPeer describes a peer to allow traffic from. Only certain combinations of fields are allowed
NetworkPolicyPort describes a port to allow traffic on
NetworkPolicySpec provides the specification of a NetworkPolicy

Enums