NetworkPolicyPeer

case
class NetworkPolicyPeer(ipBlock: Optional[IPBlock], namespaceSelector: Optional[LabelSelector], podSelector: Optional[LabelSelector])

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

Companion
object
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Value members

Concrete methods

Gets ipBlock.

Gets ipBlock.

If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.

Gets namespaceSelector.

Gets namespaceSelector.

If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.

Gets podSelector.

Gets podSelector.

If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.

Inherited methods

def productElementNames: Iterator[String]
Inherited from
Product
def productIterator: Iterator[Any]
Inherited from
Product