final case class EphemeralContainer(name: String, readinessProbe: Option[Probe] = None, livenessProbe: Option[Probe] = None, lifecycle: Option[Lifecycle] = None, image: Option[String] = None, stdinOnce: Option[Boolean] = None, ports: Option[Seq[ContainerPort]] = None, startupProbe: Option[Probe] = None, command: Option[Seq[String]] = None, terminationMessagePolicy: Option[String] = None, targetContainerName: Option[String] = None, stdin: Option[Boolean] = None, terminationMessagePath: Option[String] = None, resources: Option[ResourceRequirements] = None, envFrom: Option[Seq[EnvFromSource]] = None, volumeDevices: Option[Seq[VolumeDevice]] = None, args: Option[Seq[String]] = None, tty: Option[Boolean] = None, imagePullPolicy: Option[String] = None, workingDir: Option[String] = None, volumeMounts: Option[Seq[VolumeMount]] = None, env: Option[Seq[EnvVar]] = None, securityContext: Option[SecurityContext] = None) extends Product with Serializable
An EphemeralContainer is a temporary container that you may add to an existing Pod for user-initiated activities such as debugging. Ephemeral containers have no resource or scheduling guarantees, and they will not be restarted when they exit or when a Pod is removed or restarted. The kubelet may evict a Pod if an ephemeral container causes the Pod to exceed its resource allocation.
To add an ephemeral container, use the ephemeralcontainers subresource of an existing Pod. Ephemeral containers may not be removed or restarted.
- Source
- EphemeralContainer.scala
- Alphabetic
- By Inheritance
- EphemeralContainer
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new EphemeralContainer(name: String, readinessProbe: Option[Probe] = None, livenessProbe: Option[Probe] = None, lifecycle: Option[Lifecycle] = None, image: Option[String] = None, stdinOnce: Option[Boolean] = None, ports: Option[Seq[ContainerPort]] = None, startupProbe: Option[Probe] = None, command: Option[Seq[String]] = None, terminationMessagePolicy: Option[String] = None, targetContainerName: Option[String] = None, stdin: Option[Boolean] = None, terminationMessagePath: Option[String] = None, resources: Option[ResourceRequirements] = None, envFrom: Option[Seq[EnvFromSource]] = None, volumeDevices: Option[Seq[VolumeDevice]] = None, args: Option[Seq[String]] = None, tty: Option[Boolean] = None, imagePullPolicy: Option[String] = None, workingDir: Option[String] = None, volumeMounts: Option[Seq[VolumeMount]] = None, env: Option[Seq[EnvVar]] = None, securityContext: Option[SecurityContext] = None)
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def addArgs(newValues: String*): EphemeralContainer
Appends new values to args
- def addCommand(newValues: String*): EphemeralContainer
Appends new values to command
- def addEnv(newValues: EnvVar*): EphemeralContainer
Appends new values to env
- def addEnvFrom(newValues: EnvFromSource*): EphemeralContainer
Appends new values to envFrom
- def addPorts(newValues: ContainerPort*): EphemeralContainer
Appends new values to ports
- def addVolumeDevices(newValues: VolumeDevice*): EphemeralContainer
Appends new values to volumeDevices
- def addVolumeMounts(newValues: VolumeMount*): EphemeralContainer
Appends new values to volumeMounts
- val args: Option[Seq[String]]
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- val command: Option[Seq[String]]
- val env: Option[Seq[EnvVar]]
- val envFrom: Option[Seq[EnvFromSource]]
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- val image: Option[String]
- val imagePullPolicy: Option[String]
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val lifecycle: Option[Lifecycle]
- val livenessProbe: Option[Probe]
- def mapArgs(f: (Seq[String]) => Seq[String]): EphemeralContainer
if args has a value, transforms to the result of function
- def mapCommand(f: (Seq[String]) => Seq[String]): EphemeralContainer
if command has a value, transforms to the result of function
- def mapEnv(f: (Seq[EnvVar]) => Seq[EnvVar]): EphemeralContainer
if env has a value, transforms to the result of function
- def mapEnvFrom(f: (Seq[EnvFromSource]) => Seq[EnvFromSource]): EphemeralContainer
if envFrom has a value, transforms to the result of function
- def mapImage(f: (String) => String): EphemeralContainer
if image has a value, transforms to the result of function
- def mapImagePullPolicy(f: (String) => String): EphemeralContainer
if imagePullPolicy has a value, transforms to the result of function
- def mapLifecycle(f: (Lifecycle) => Lifecycle): EphemeralContainer
if lifecycle has a value, transforms to the result of function
- def mapLivenessProbe(f: (Probe) => Probe): EphemeralContainer
if livenessProbe has a value, transforms to the result of function
- def mapName(f: (String) => String): EphemeralContainer
transforms name to result of function
- def mapPorts(f: (Seq[ContainerPort]) => Seq[ContainerPort]): EphemeralContainer
if ports has a value, transforms to the result of function
- def mapReadinessProbe(f: (Probe) => Probe): EphemeralContainer
if readinessProbe has a value, transforms to the result of function
- def mapResources(f: (ResourceRequirements) => ResourceRequirements): EphemeralContainer
if resources has a value, transforms to the result of function
- def mapSecurityContext(f: (SecurityContext) => SecurityContext): EphemeralContainer
if securityContext has a value, transforms to the result of function
- def mapStartupProbe(f: (Probe) => Probe): EphemeralContainer
if startupProbe has a value, transforms to the result of function
- def mapStdin(f: (Boolean) => Boolean): EphemeralContainer
if stdin has a value, transforms to the result of function
- def mapStdinOnce(f: (Boolean) => Boolean): EphemeralContainer
if stdinOnce has a value, transforms to the result of function
- def mapTargetContainerName(f: (String) => String): EphemeralContainer
if targetContainerName has a value, transforms to the result of function
- def mapTerminationMessagePath(f: (String) => String): EphemeralContainer
if terminationMessagePath has a value, transforms to the result of function
- def mapTerminationMessagePolicy(f: (String) => String): EphemeralContainer
if terminationMessagePolicy has a value, transforms to the result of function
- def mapTty(f: (Boolean) => Boolean): EphemeralContainer
if tty has a value, transforms to the result of function
- def mapVolumeDevices(f: (Seq[VolumeDevice]) => Seq[VolumeDevice]): EphemeralContainer
if volumeDevices has a value, transforms to the result of function
- def mapVolumeMounts(f: (Seq[VolumeMount]) => Seq[VolumeMount]): EphemeralContainer
if volumeMounts has a value, transforms to the result of function
- def mapWorkingDir(f: (String) => String): EphemeralContainer
if workingDir has a value, transforms to the result of function
- val name: String
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- val ports: Option[Seq[ContainerPort]]
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- val readinessProbe: Option[Probe]
- val resources: Option[ResourceRequirements]
- val securityContext: Option[SecurityContext]
- val startupProbe: Option[Probe]
- val stdin: Option[Boolean]
- val stdinOnce: Option[Boolean]
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- val targetContainerName: Option[String]
- val terminationMessagePath: Option[String]
- val terminationMessagePolicy: Option[String]
- val tty: Option[Boolean]
- val volumeDevices: Option[Seq[VolumeDevice]]
- val volumeMounts: Option[Seq[VolumeMount]]
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- def withArgs(value: Seq[String]): EphemeralContainer
Returns a new data with args set to new value
- def withCommand(value: Seq[String]): EphemeralContainer
Returns a new data with command set to new value
- def withEnv(value: Seq[EnvVar]): EphemeralContainer
Returns a new data with env set to new value
- def withEnvFrom(value: Seq[EnvFromSource]): EphemeralContainer
Returns a new data with envFrom set to new value
- def withImage(value: String): EphemeralContainer
Returns a new data with image set to new value
- def withImagePullPolicy(value: String): EphemeralContainer
Returns a new data with imagePullPolicy set to new value
- def withLifecycle(value: Lifecycle): EphemeralContainer
Returns a new data with lifecycle set to new value
- def withLivenessProbe(value: Probe): EphemeralContainer
Returns a new data with livenessProbe set to new value
- def withName(value: String): EphemeralContainer
Returns a new data with name set to new value
- def withPorts(value: Seq[ContainerPort]): EphemeralContainer
Returns a new data with ports set to new value
- def withReadinessProbe(value: Probe): EphemeralContainer
Returns a new data with readinessProbe set to new value
- def withResources(value: ResourceRequirements): EphemeralContainer
Returns a new data with resources set to new value
- def withSecurityContext(value: SecurityContext): EphemeralContainer
Returns a new data with securityContext set to new value
- def withStartupProbe(value: Probe): EphemeralContainer
Returns a new data with startupProbe set to new value
- def withStdin(value: Boolean): EphemeralContainer
Returns a new data with stdin set to new value
- def withStdinOnce(value: Boolean): EphemeralContainer
Returns a new data with stdinOnce set to new value
- def withTargetContainerName(value: String): EphemeralContainer
Returns a new data with targetContainerName set to new value
- def withTerminationMessagePath(value: String): EphemeralContainer
Returns a new data with terminationMessagePath set to new value
- def withTerminationMessagePolicy(value: String): EphemeralContainer
Returns a new data with terminationMessagePolicy set to new value
- def withTty(value: Boolean): EphemeralContainer
Returns a new data with tty set to new value
- def withVolumeDevices(value: Seq[VolumeDevice]): EphemeralContainer
Returns a new data with volumeDevices set to new value
- def withVolumeMounts(value: Seq[VolumeMount]): EphemeralContainer
Returns a new data with volumeMounts set to new value
- def withWorkingDir(value: String): EphemeralContainer
Returns a new data with workingDir set to new value
- val workingDir: Option[String]