io.k8s.api.networking.v1.NetworkPolicyEgressRule
See theNetworkPolicyEgressRule companion object
final case class NetworkPolicyEgressRule(ports: Option[Seq[NetworkPolicyPort]], to: Option[Seq[NetworkPolicyPeer]])
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
Attributes
- Companion:
- object
- Source:
- NetworkPolicyEgressRule.scala
- Graph
- Supertypes