Packages

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
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. EphemeralContainer
  2. Serializable
  3. Product
  4. Equals
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. 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

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def addArgs(newValues: String*): EphemeralContainer

    Appends new values to args

  5. def addCommand(newValues: String*): EphemeralContainer

    Appends new values to command

  6. def addEnv(newValues: EnvVar*): EphemeralContainer

    Appends new values to env

  7. def addEnvFrom(newValues: EnvFromSource*): EphemeralContainer

    Appends new values to envFrom

  8. def addPorts(newValues: ContainerPort*): EphemeralContainer

    Appends new values to ports

  9. def addVolumeDevices(newValues: VolumeDevice*): EphemeralContainer

    Appends new values to volumeDevices

  10. def addVolumeMounts(newValues: VolumeMount*): EphemeralContainer

    Appends new values to volumeMounts

  11. val args: Option[Seq[String]]
  12. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  13. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  14. val command: Option[Seq[String]]
  15. val env: Option[Seq[EnvVar]]
  16. val envFrom: Option[Seq[EnvFromSource]]
  17. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  19. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  20. val image: Option[String]
  21. val imagePullPolicy: Option[String]
  22. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  23. val lifecycle: Option[Lifecycle]
  24. val livenessProbe: Option[Probe]
  25. def mapArgs(f: (Seq[String]) => Seq[String]): EphemeralContainer

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

  26. def mapCommand(f: (Seq[String]) => Seq[String]): EphemeralContainer

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

  27. def mapEnv(f: (Seq[EnvVar]) => Seq[EnvVar]): EphemeralContainer

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

  28. def mapEnvFrom(f: (Seq[EnvFromSource]) => Seq[EnvFromSource]): EphemeralContainer

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

  29. def mapImage(f: (String) => String): EphemeralContainer

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

  30. def mapImagePullPolicy(f: (String) => String): EphemeralContainer

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

  31. def mapLifecycle(f: (Lifecycle) => Lifecycle): EphemeralContainer

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

  32. def mapLivenessProbe(f: (Probe) => Probe): EphemeralContainer

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

  33. def mapName(f: (String) => String): EphemeralContainer

    transforms name to result of function

  34. def mapPorts(f: (Seq[ContainerPort]) => Seq[ContainerPort]): EphemeralContainer

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

  35. def mapReadinessProbe(f: (Probe) => Probe): EphemeralContainer

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

  36. def mapResources(f: (ResourceRequirements) => ResourceRequirements): EphemeralContainer

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

  37. def mapSecurityContext(f: (SecurityContext) => SecurityContext): EphemeralContainer

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

  38. def mapStartupProbe(f: (Probe) => Probe): EphemeralContainer

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

  39. def mapStdin(f: (Boolean) => Boolean): EphemeralContainer

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

  40. def mapStdinOnce(f: (Boolean) => Boolean): EphemeralContainer

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

  41. def mapTargetContainerName(f: (String) => String): EphemeralContainer

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

  42. def mapTerminationMessagePath(f: (String) => String): EphemeralContainer

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

  43. def mapTerminationMessagePolicy(f: (String) => String): EphemeralContainer

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

  44. def mapTty(f: (Boolean) => Boolean): EphemeralContainer

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

  45. def mapVolumeDevices(f: (Seq[VolumeDevice]) => Seq[VolumeDevice]): EphemeralContainer

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

  46. def mapVolumeMounts(f: (Seq[VolumeMount]) => Seq[VolumeMount]): EphemeralContainer

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

  47. def mapWorkingDir(f: (String) => String): EphemeralContainer

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

  48. val name: String
  49. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  50. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  51. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  52. val ports: Option[Seq[ContainerPort]]
  53. def productElementNames: Iterator[String]
    Definition Classes
    Product
  54. val readinessProbe: Option[Probe]
  55. val resources: Option[ResourceRequirements]
  56. val securityContext: Option[SecurityContext]
  57. val startupProbe: Option[Probe]
  58. val stdin: Option[Boolean]
  59. val stdinOnce: Option[Boolean]
  60. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  61. val targetContainerName: Option[String]
  62. val terminationMessagePath: Option[String]
  63. val terminationMessagePolicy: Option[String]
  64. val tty: Option[Boolean]
  65. val volumeDevices: Option[Seq[VolumeDevice]]
  66. val volumeMounts: Option[Seq[VolumeMount]]
  67. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  68. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  69. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  70. def withArgs(value: Seq[String]): EphemeralContainer

    Returns a new data with args set to new value

  71. def withCommand(value: Seq[String]): EphemeralContainer

    Returns a new data with command set to new value

  72. def withEnv(value: Seq[EnvVar]): EphemeralContainer

    Returns a new data with env set to new value

  73. def withEnvFrom(value: Seq[EnvFromSource]): EphemeralContainer

    Returns a new data with envFrom set to new value

  74. def withImage(value: String): EphemeralContainer

    Returns a new data with image set to new value

  75. def withImagePullPolicy(value: String): EphemeralContainer

    Returns a new data with imagePullPolicy set to new value

  76. def withLifecycle(value: Lifecycle): EphemeralContainer

    Returns a new data with lifecycle set to new value

  77. def withLivenessProbe(value: Probe): EphemeralContainer

    Returns a new data with livenessProbe set to new value

  78. def withName(value: String): EphemeralContainer

    Returns a new data with name set to new value

  79. def withPorts(value: Seq[ContainerPort]): EphemeralContainer

    Returns a new data with ports set to new value

  80. def withReadinessProbe(value: Probe): EphemeralContainer

    Returns a new data with readinessProbe set to new value

  81. def withResources(value: ResourceRequirements): EphemeralContainer

    Returns a new data with resources set to new value

  82. def withSecurityContext(value: SecurityContext): EphemeralContainer

    Returns a new data with securityContext set to new value

  83. def withStartupProbe(value: Probe): EphemeralContainer

    Returns a new data with startupProbe set to new value

  84. def withStdin(value: Boolean): EphemeralContainer

    Returns a new data with stdin set to new value

  85. def withStdinOnce(value: Boolean): EphemeralContainer

    Returns a new data with stdinOnce set to new value

  86. def withTargetContainerName(value: String): EphemeralContainer

    Returns a new data with targetContainerName set to new value

  87. def withTerminationMessagePath(value: String): EphemeralContainer

    Returns a new data with terminationMessagePath set to new value

  88. def withTerminationMessagePolicy(value: String): EphemeralContainer

    Returns a new data with terminationMessagePolicy set to new value

  89. def withTty(value: Boolean): EphemeralContainer

    Returns a new data with tty set to new value

  90. def withVolumeDevices(value: Seq[VolumeDevice]): EphemeralContainer

    Returns a new data with volumeDevices set to new value

  91. def withVolumeMounts(value: Seq[VolumeMount]): EphemeralContainer

    Returns a new data with volumeMounts set to new value

  92. def withWorkingDir(value: String): EphemeralContainer

    Returns a new data with workingDir set to new value

  93. val workingDir: Option[String]

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped