NetworkPolicyPeer

io.k8s.api.networking.v1.NetworkPolicyPeer
See theNetworkPolicyPeer companion object
final case class NetworkPolicyPeer(ipBlock: Option[IPBlock], namespaceSelector: Option[LabelSelector], podSelector: Option[LabelSelector])

NetworkPolicyPeer describes a peer to allow traffic to/from. Only certain combinations of fields are allowed

Attributes

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

Members list

Concise view

Value members

Concrete methods

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

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

Attributes

Source:
NetworkPolicyPeer.scala

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

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

Attributes

Source:
NetworkPolicyPeer.scala

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

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

Attributes

Source:
NetworkPolicyPeer.scala

Returns a new data with ipBlock set to new value

Returns a new data with ipBlock set to new value

Attributes

Source:
NetworkPolicyPeer.scala

Returns a new data with namespaceSelector set to new value

Returns a new data with namespaceSelector set to new value

Attributes

Source:
NetworkPolicyPeer.scala

Returns a new data with podSelector set to new value

Returns a new data with podSelector set to new value

Attributes

Source:
NetworkPolicyPeer.scala

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product