NetworkPolicyPort

io.k8s.api.networking.v1.NetworkPolicyPort
See theNetworkPolicyPort companion object
final case class NetworkPolicyPort(endPort: Option[Int], port: Option[IntOrString], protocol: Option[String])

NetworkPolicyPort describes a port to allow traffic on

Attributes

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

Members list

Concise view

Value members

Concrete methods

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

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

Attributes

Source:
NetworkPolicyPort.scala

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

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

Attributes

Source:
NetworkPolicyPort.scala

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

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

Attributes

Source:
NetworkPolicyPort.scala

Returns a new data with endPort set to new value

Returns a new data with endPort set to new value

Attributes

Source:
NetworkPolicyPort.scala

Returns a new data with port set to new value

Returns a new data with port set to new value

Attributes

Source:
NetworkPolicyPort.scala

Returns a new data with protocol set to new value

Returns a new data with protocol set to new value

Attributes

Source:
NetworkPolicyPort.scala

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product