final case class NetworkPolicy(status: Option[NetworkPolicyStatus], spec: Option[NetworkPolicySpec], metadata: Option[ObjectMeta]) extends KObject
NetworkPolicy describes what network traffic is allowed for a set of Pods
- Companion:
- object
- Source:
- NetworkPolicy.scala
Value members
Concrete methods
if metadata has a value, transforms to the result of function
if metadata has a value, transforms to the result of function
- Source:
- NetworkPolicy.scala
if spec has a value, transforms to the result of function
if spec has a value, transforms to the result of function
- Source:
- NetworkPolicy.scala
if status has a value, transforms to the result of function
if status has a value, transforms to the result of function
- Source:
- NetworkPolicy.scala
Returns a new data with metadata set to new value
Returns a new data with metadata set to new value
- Source:
- NetworkPolicy.scala
Returns a new data with spec set to new value
Returns a new data with spec set to new value
- Source:
- NetworkPolicy.scala
Returns a new data with status set to new value
Returns a new data with status set to new value
- Source:
- NetworkPolicy.scala