Packages

final case class EphemeralContainer(name: String, readinessProbe: Option[Probe] = None, livenessProbe: Option[Probe] = None, lifecycle: Option[Lifecycle] = None, image: Option[String] = None, resizePolicy: Option[Seq[ContainerResizePolicy]] = 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, restartPolicy: 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
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. EphemeralContainer
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new EphemeralContainer(name: String, readinessProbe: Option[Probe] = None, livenessProbe: Option[Probe] = None, lifecycle: Option[Lifecycle] = None, image: Option[String] = None, resizePolicy: Option[Seq[ContainerResizePolicy]] = 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, restartPolicy: 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 addResizePolicy(newValues: ContainerResizePolicy*): EphemeralContainer

    Appends new values to resizePolicy

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

    Appends new values to volumeDevices

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

    Appends new values to volumeMounts

  12. val args: Option[Seq[String]]
  13. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  14. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @HotSpotIntrinsicCandidate()
  15. val command: Option[Seq[String]]
  16. val env: Option[Seq[EnvVar]]
  17. val envFrom: Option[Seq[EnvFromSource]]
  18. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  19. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  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 mapResizePolicy(f: (Seq[ContainerResizePolicy]) ⇒ Seq[ContainerResizePolicy]): EphemeralContainer

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

  37. def mapResources(f: (ResourceRequirements) ⇒ ResourceRequirements): EphemeralContainer

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

  38. def mapRestartPolicy(f: (String) ⇒ String): EphemeralContainer

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

  39. def mapSecurityContext(f: (SecurityContext) ⇒ SecurityContext): EphemeralContainer

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

  40. def mapStartupProbe(f: (Probe) ⇒ Probe): EphemeralContainer

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

  41. def mapStdin(f: (Boolean) ⇒ Boolean): EphemeralContainer

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

  42. def mapStdinOnce(f: (Boolean) ⇒ Boolean): EphemeralContainer

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

  43. def mapTargetContainerName(f: (String) ⇒ String): EphemeralContainer

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

  44. def mapTerminationMessagePath(f: (String) ⇒ String): EphemeralContainer

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

  45. def mapTerminationMessagePolicy(f: (String) ⇒ String): EphemeralContainer

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

  46. def mapTty(f: (Boolean) ⇒ Boolean): EphemeralContainer

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

  47. def mapVolumeDevices(f: (Seq[VolumeDevice]) ⇒ Seq[VolumeDevice]): EphemeralContainer

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

  48. def mapVolumeMounts(f: (Seq[VolumeMount]) ⇒ Seq[VolumeMount]): EphemeralContainer

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

  49. def mapWorkingDir(f: (String) ⇒ String): EphemeralContainer

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

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

    Returns a new data with args set to new value

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

    Returns a new data with command set to new value

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

    Returns a new data with env set to new value

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

    Returns a new data with envFrom set to new value

  77. def withImage(value: String): EphemeralContainer

    Returns a new data with image set to new value

  78. def withImagePullPolicy(value: String): EphemeralContainer

    Returns a new data with imagePullPolicy set to new value

  79. def withLifecycle(value: Lifecycle): EphemeralContainer

    Returns a new data with lifecycle set to new value

  80. def withLivenessProbe(value: Probe): EphemeralContainer

    Returns a new data with livenessProbe set to new value

  81. def withName(value: String): EphemeralContainer

    Returns a new data with name set to new value

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

    Returns a new data with ports set to new value

  83. def withReadinessProbe(value: Probe): EphemeralContainer

    Returns a new data with readinessProbe set to new value

  84. def withResizePolicy(value: Seq[ContainerResizePolicy]): EphemeralContainer

    Returns a new data with resizePolicy set to new value

  85. def withResources(value: ResourceRequirements): EphemeralContainer

    Returns a new data with resources set to new value

  86. def withRestartPolicy(value: String): EphemeralContainer

    Returns a new data with restartPolicy set to new value

  87. def withSecurityContext(value: SecurityContext): EphemeralContainer

    Returns a new data with securityContext set to new value

  88. def withStartupProbe(value: Probe): EphemeralContainer

    Returns a new data with startupProbe set to new value

  89. def withStdin(value: Boolean): EphemeralContainer

    Returns a new data with stdin set to new value

  90. def withStdinOnce(value: Boolean): EphemeralContainer

    Returns a new data with stdinOnce set to new value

  91. def withTargetContainerName(value: String): EphemeralContainer

    Returns a new data with targetContainerName set to new value

  92. def withTerminationMessagePath(value: String): EphemeralContainer

    Returns a new data with terminationMessagePath set to new value

  93. def withTerminationMessagePolicy(value: String): EphemeralContainer

    Returns a new data with terminationMessagePolicy set to new value

  94. def withTty(value: Boolean): EphemeralContainer

    Returns a new data with tty set to new value

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

    Returns a new data with volumeDevices set to new value

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

    Returns a new data with volumeMounts set to new value

  97. def withWorkingDir(value: String): EphemeralContainer

    Returns a new data with workingDir set to new value

  98. val workingDir: Option[String]

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] ) @Deprecated
    Deprecated

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped