NetworkPolicy

io.k8s.api.networking.v1.NetworkPolicy
See theNetworkPolicy companion object
final case class NetworkPolicy(metadata: Option[ObjectMeta], spec: Option[NetworkPolicySpec]) extends KObject

NetworkPolicy describes what network traffic is allowed for a set of Pods

Attributes

Companion
object
Source
NetworkPolicy.scala
Graph
Supertypes
trait KObject
trait Product
trait Equals
trait Serializable
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

override def foldTo[T : Builder]: T

Attributes

Definition Classes
Source
NetworkPolicy.scala

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

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

Attributes

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

Attributes

Source
NetworkPolicy.scala

Returns a new data with metadata set to new value

Returns a new data with metadata set to new value

Attributes

Source
NetworkPolicy.scala

Returns a new data with spec set to new value

Returns a new data with spec set to new value

Attributes

Source
NetworkPolicy.scala

Inherited methods

final def group: String

Attributes

Inherited from:
KObject
Source
ResourceKind.scala

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product

Inherited fields

final lazy val apiVersion: String

Attributes

Inherited from:
KObject
Source
ResourceKind.scala
final lazy val kind: String

Attributes

Inherited from:
KObject
Source
ResourceKind.scala
final lazy val version: String

Attributes

Inherited from:
KObject
Source
ResourceKind.scala