Pod

io.k8s.api.core.v1.Pod
See thePod companion object
final case class Pod(status: Option[PodStatus], spec: Option[PodSpec], metadata: Option[ObjectMeta]) extends KObject

Pod is a collection of containers that can run on a host. This resource is created by clients and scheduled onto hosts.

Attributes

Companion:
object
Source:
Pod.scala
Graph
Supertypes
trait KObject
trait Product
trait Equals
class Object
trait Matchable
class Any

Members list

Concise view

Value members

Concrete methods

override def foldTo[T : Builder]: T

Attributes

Definition Classes
Source:
Pod.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:
Pod.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:
Pod.scala

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

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

Attributes

Source:
Pod.scala

Returns a new data with metadata set to new value

Returns a new data with metadata set to new value

Attributes

Source:
Pod.scala
def withSpec(value: PodSpec): Pod

Returns a new data with spec set to new value

Returns a new data with spec set to new value

Attributes

Source:
Pod.scala
def withStatus(value: PodStatus): Pod

Returns a new data with status set to new value

Returns a new data with status set to new value

Attributes

Source:
Pod.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