Container

io.k8s.api.core.v1.Container
See theContainer companion object
final case class Container(name: String, readinessProbe: Option[Probe], livenessProbe: Option[Probe], lifecycle: Option[Lifecycle], image: Option[String], resizePolicy: Option[Seq[ContainerResizePolicy]], stdinOnce: Option[Boolean], ports: Option[Seq[ContainerPort]], startupProbe: Option[Probe], command: Option[Seq[String]], terminationMessagePolicy: Option[String], restartPolicy: Option[String], stdin: Option[Boolean], terminationMessagePath: Option[String], resources: Option[ResourceRequirements], envFrom: Option[Seq[EnvFromSource]], volumeDevices: Option[Seq[VolumeDevice]], args: Option[Seq[String]], tty: Option[Boolean], imagePullPolicy: Option[String], workingDir: Option[String], volumeMounts: Option[Seq[VolumeMount]], env: Option[Seq[EnvVar]], securityContext: Option[SecurityContext])

A single application container that you want to run within a pod.

Attributes

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

Members list

Value members

Concrete methods

def addArgs(newValues: String*): Container

Appends new values to args

Appends new values to args

Attributes

Source
Container.scala
def addCommand(newValues: String*): Container

Appends new values to command

Appends new values to command

Attributes

Source
Container.scala
def addEnv(newValues: EnvVar*): Container

Appends new values to env

Appends new values to env

Attributes

Source
Container.scala
def addEnvFrom(newValues: EnvFromSource*): Container

Appends new values to envFrom

Appends new values to envFrom

Attributes

Source
Container.scala
def addPorts(newValues: ContainerPort*): Container

Appends new values to ports

Appends new values to ports

Attributes

Source
Container.scala

Appends new values to resizePolicy

Appends new values to resizePolicy

Attributes

Source
Container.scala

Appends new values to volumeDevices

Appends new values to volumeDevices

Attributes

Source
Container.scala

Appends new values to volumeMounts

Appends new values to volumeMounts

Attributes

Source
Container.scala

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

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

Attributes

Source
Container.scala

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

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

Attributes

Source
Container.scala

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

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

Attributes

Source
Container.scala

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

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

Attributes

Source
Container.scala

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

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

Attributes

Source
Container.scala

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

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

Attributes

Source
Container.scala

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

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

Attributes

Source
Container.scala

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

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

Attributes

Source
Container.scala

transforms name to result of function

transforms name to result of function

Attributes

Source
Container.scala

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

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

Attributes

Source
Container.scala

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

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

Attributes

Source
Container.scala

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

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

Attributes

Source
Container.scala

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

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

Attributes

Source
Container.scala

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

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

Attributes

Source
Container.scala

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

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

Attributes

Source
Container.scala

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

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

Attributes

Source
Container.scala

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

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

Attributes

Source
Container.scala

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

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

Attributes

Source
Container.scala

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

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

Attributes

Source
Container.scala

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

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

Attributes

Source
Container.scala

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

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

Attributes

Source
Container.scala

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

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

Attributes

Source
Container.scala

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

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

Attributes

Source
Container.scala

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

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

Attributes

Source
Container.scala
def withArgs(value: Seq[String]): Container

Returns a new data with args set to new value

Returns a new data with args set to new value

Attributes

Source
Container.scala

Returns a new data with command set to new value

Returns a new data with command set to new value

Attributes

Source
Container.scala
def withEnv(value: Seq[EnvVar]): Container

Returns a new data with env set to new value

Returns a new data with env set to new value

Attributes

Source
Container.scala

Returns a new data with envFrom set to new value

Returns a new data with envFrom set to new value

Attributes

Source
Container.scala
def withImage(value: String): Container

Returns a new data with image set to new value

Returns a new data with image set to new value

Attributes

Source
Container.scala

Returns a new data with imagePullPolicy set to new value

Returns a new data with imagePullPolicy set to new value

Attributes

Source
Container.scala

Returns a new data with lifecycle set to new value

Returns a new data with lifecycle set to new value

Attributes

Source
Container.scala

Returns a new data with livenessProbe set to new value

Returns a new data with livenessProbe set to new value

Attributes

Source
Container.scala
def withName(value: String): Container

Returns a new data with name set to new value

Returns a new data with name set to new value

Attributes

Source
Container.scala

Returns a new data with ports set to new value

Returns a new data with ports set to new value

Attributes

Source
Container.scala

Returns a new data with readinessProbe set to new value

Returns a new data with readinessProbe set to new value

Attributes

Source
Container.scala

Returns a new data with resizePolicy set to new value

Returns a new data with resizePolicy set to new value

Attributes

Source
Container.scala

Returns a new data with resources set to new value

Returns a new data with resources set to new value

Attributes

Source
Container.scala

Returns a new data with restartPolicy set to new value

Returns a new data with restartPolicy set to new value

Attributes

Source
Container.scala

Returns a new data with securityContext set to new value

Returns a new data with securityContext set to new value

Attributes

Source
Container.scala

Returns a new data with startupProbe set to new value

Returns a new data with startupProbe set to new value

Attributes

Source
Container.scala
def withStdin(value: Boolean): Container

Returns a new data with stdin set to new value

Returns a new data with stdin set to new value

Attributes

Source
Container.scala

Returns a new data with stdinOnce set to new value

Returns a new data with stdinOnce set to new value

Attributes

Source
Container.scala

Returns a new data with terminationMessagePath set to new value

Returns a new data with terminationMessagePath set to new value

Attributes

Source
Container.scala

Returns a new data with terminationMessagePolicy set to new value

Returns a new data with terminationMessagePolicy set to new value

Attributes

Source
Container.scala
def withTty(value: Boolean): Container

Returns a new data with tty set to new value

Returns a new data with tty set to new value

Attributes

Source
Container.scala

Returns a new data with volumeDevices set to new value

Returns a new data with volumeDevices set to new value

Attributes

Source
Container.scala

Returns a new data with volumeMounts set to new value

Returns a new data with volumeMounts set to new value

Attributes

Source
Container.scala

Returns a new data with workingDir set to new value

Returns a new data with workingDir set to new value

Attributes

Source
Container.scala

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product