final case class NetworkPolicyIngressRule(from: Option[Seq[NetworkPolicyPeer]], ports: Option[Seq[NetworkPolicyPort]])
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.
- Companion:
- object
- Source:
- NetworkPolicyIngressRule.scala
Value members
Concrete methods
if from has a value, transforms to the result of function
if from has a value, transforms to the result of function
if ports has a value, transforms to the result of function
if ports has a value, transforms to the result of function