NetworkPolicyIngressRule

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
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

Appends new values to from

Appends new values to from

Attributes

Source
NetworkPolicyIngressRule.scala

Appends new values to ports

Appends new values to ports

Attributes

Source
NetworkPolicyIngressRule.scala

if from has a value, transforms to the result of function

if from has a value, transforms to the result of function

Attributes

Source
NetworkPolicyIngressRule.scala

if ports has a value, transforms to the result of function

if ports has a value, transforms to the result of function

Attributes

Source
NetworkPolicyIngressRule.scala

Returns a new data with from set to new value

Returns a new data with from set to new value

Attributes

Source
NetworkPolicyIngressRule.scala

Returns a new data with ports set to new value

Returns a new data with ports set to new value

Attributes

Source
NetworkPolicyIngressRule.scala

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product