NetworkPolicySpec

io.k8s.api.networking.v1.NetworkPolicySpec
See theNetworkPolicySpec companion object
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

Attributes

Companion:
object
Source:
NetworkPolicySpec.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Members list

Concise view

Value members

Concrete methods

Appends new values to egress

Appends new values to egress

Attributes

Source:
NetworkPolicySpec.scala

Appends new values to ingress

Appends new values to ingress

Attributes

Source:
NetworkPolicySpec.scala

Appends new values to policyTypes

Appends new values to policyTypes

Attributes

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

Attributes

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

Attributes

Source:
NetworkPolicySpec.scala

transforms podSelector to result of function

transforms podSelector to result of function

Attributes

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

Attributes

Source:
NetworkPolicySpec.scala

Returns a new data with egress set to new value

Returns a new data with egress set to new value

Attributes

Source:
NetworkPolicySpec.scala

Returns a new data with ingress set to new value

Returns a new data with ingress set to new value

Attributes

Source:
NetworkPolicySpec.scala

Returns a new data with podSelector set to new value

Returns a new data with podSelector set to new value

Attributes

Source:
NetworkPolicySpec.scala

Returns a new data with policyTypes set to new value

Returns a new data with policyTypes set to new value

Attributes

Source:
NetworkPolicySpec.scala

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product