final case class NetworkPolicyEgressRule(ports: Option[Seq[NetworkPolicyPort]] = None, to: Option[Seq[NetworkPolicyPeer]] = None) extends Product with Serializable
NetworkPolicyEgressRule describes a particular set of traffic that is allowed out of pods matched by a NetworkPolicySpec's podSelector. The traffic must match both ports and to. This type is beta-level in 1.8
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- NetworkPolicyEgressRule
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new NetworkPolicyEgressRule(ports: Option[Seq[NetworkPolicyPort]] = None, to: Option[Seq[NetworkPolicyPeer]] = None)
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def addPorts(newValues: NetworkPolicyPort*): NetworkPolicyEgressRule
Appends new values to ports
- def addTo(newValues: NetworkPolicyPeer*): NetworkPolicyEgressRule
Appends new values to to
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def mapPorts(f: (Seq[NetworkPolicyPort]) => Seq[NetworkPolicyPort]): NetworkPolicyEgressRule
if ports has a value, transforms to the result of function
- def mapTo(f: (Seq[NetworkPolicyPeer]) => Seq[NetworkPolicyPeer]): NetworkPolicyEgressRule
if to has a value, transforms to the result of function
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- val ports: Option[Seq[NetworkPolicyPort]]
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- val to: Option[Seq[NetworkPolicyPeer]]
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- def withPorts(value: Seq[NetworkPolicyPort]): NetworkPolicyEgressRule
Returns a new data with ports set to new value
- def withTo(value: Seq[NetworkPolicyPeer]): NetworkPolicyEgressRule
Returns a new data with to set to new value