io.k8s.api.networking.v1.NetworkPolicyIngressRule
See theNetworkPolicyIngressRule companion object
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.
Attributes
- Companion:
- object
- Source:
- NetworkPolicyIngressRule.scala
- Graph
- Supertypes