Container

final case class Container(name: String, readinessProbe: Option[Probe], livenessProbe: Option[Probe], lifecycle: Option[Lifecycle], image: Option[String], stdinOnce: Option[Boolean], ports: Option[Seq[ContainerPort]], startupProbe: Option[Probe], command: Option[Seq[String]], terminationMessagePolicy: 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.

Source:
Container.scala
trait Product
trait Equals
class Object
trait Matchable
class Any

Value members

Concrete methods

def addArgs(newValues: String*): Container

Appends new values to args

Appends new values to args

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

Appends new values to command

Appends new values to command

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

Appends new values to env

Appends new values to env

Source:
Container.scala

Appends new values to envFrom

Appends new values to envFrom

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

Appends new values to ports

Appends new values to ports

Source:
Container.scala

Appends new values to volumeDevices

Appends new values to volumeDevices

Source:
Container.scala

Appends new values to volumeMounts

Appends new values to volumeMounts

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

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

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

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

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

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

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

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

Source:
Container.scala

transforms name to result of function

transforms name to result of function

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

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

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

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

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

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

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

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

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

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

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

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

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

Source:
Container.scala

Returns a new data with args set to new value

Returns a new data with args set to new value

Source:
Container.scala

Returns a new data with command set to new value

Returns a new data with command set to new value

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

Source:
Container.scala

Returns a new data with envFrom set to new value

Returns a new data with envFrom set to new value

Source:
Container.scala

Returns a new data with image set to new value

Returns a new data with image set to new value

Source:
Container.scala

Returns a new data with imagePullPolicy set to new value

Returns a new data with imagePullPolicy set to new value

Source:
Container.scala

Returns a new data with lifecycle set to new value

Returns a new data with lifecycle set to new value

Source:
Container.scala

Returns a new data with livenessProbe set to new value

Returns a new data with livenessProbe set to new value

Source:
Container.scala

Returns a new data with name set to new value

Returns a new data with name set to new value

Source:
Container.scala

Returns a new data with ports set to new value

Returns a new data with ports set to new value

Source:
Container.scala

Returns a new data with readinessProbe set to new value

Returns a new data with readinessProbe set to new value

Source:
Container.scala

Returns a new data with resources set to new value

Returns a new data with resources set to new value

Source:
Container.scala

Returns a new data with securityContext set to new value

Returns a new data with securityContext set to new value

Source:
Container.scala

Returns a new data with startupProbe set to new value

Returns a new data with startupProbe set to new value

Source:
Container.scala

Returns a new data with stdin set to new value

Returns a new data with stdin set to new value

Source:
Container.scala

Returns a new data with stdinOnce set to new value

Returns a new data with stdinOnce set to new value

Source:
Container.scala

Returns a new data with terminationMessagePath set to new value

Returns a new data with terminationMessagePath set to new value

Source:
Container.scala

Returns a new data with terminationMessagePolicy set to new value

Returns a new data with terminationMessagePolicy set to new value

Source:
Container.scala

Returns a new data with tty set to new value

Returns a new data with tty set to new value

Source:
Container.scala

Returns a new data with volumeDevices set to new value

Returns a new data with volumeDevices set to new value

Source:
Container.scala

Returns a new data with volumeMounts set to new value

Returns a new data with volumeMounts set to new value

Source:
Container.scala

Returns a new data with workingDir set to new value

Returns a new data with workingDir set to new value

Source:
Container.scala

Inherited methods

Inherited from:
Product