NetworkPolicySpec

final case class NetworkPolicySpec(podSelector: LabelSelector, egress: Option[Seq[NetworkPolicyEgressRule]], ingress: Option[Seq[NetworkPolicyIngressRule]], policyTypes: Option[Seq[String]])

NetworkPolicySpec provides the specification of a NetworkPolicy

Source:
NetworkPolicySpec.scala
trait Product
trait Equals
class Object
trait Matchable
class Any

Value members

Concrete methods

Appends new values to egress

Appends new values to egress

Source:
NetworkPolicySpec.scala

Appends new values to ingress

Appends new values to ingress

Source:
NetworkPolicySpec.scala

Appends new values to policyTypes

Appends new values to policyTypes

Source:
NetworkPolicySpec.scala

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

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

Source:
NetworkPolicySpec.scala

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

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

Source:
NetworkPolicySpec.scala

transforms podSelector to result of function

transforms podSelector to result of function

Source:
NetworkPolicySpec.scala

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

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

Source:
NetworkPolicySpec.scala

Returns a new data with egress set to new value

Returns a new data with egress set to new value

Source:
NetworkPolicySpec.scala

Returns a new data with ingress set to new value

Returns a new data with ingress set to new value

Source:
NetworkPolicySpec.scala

Returns a new data with podSelector set to new value

Returns a new data with podSelector set to new value

Source:
NetworkPolicySpec.scala

Returns a new data with policyTypes set to new value

Returns a new data with policyTypes set to new value

Source:
NetworkPolicySpec.scala

Inherited methods

Inherited from:
Product