Packages

final case class Container(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, 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

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

Source
Container.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Container
  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 Container(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, 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*): Container

    Appends new values to args

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

    Appends new values to command

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

    Appends new values to env

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

    Appends new values to envFrom

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

    Appends new values to ports

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

    Appends new values to volumeDevices

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

    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]): Container

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    transforms name to result of function

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

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

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

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

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

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

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

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

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

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

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

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

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

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

  41. def mapTerminationMessagePath(f: (String) => String): Container

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

  42. def mapTerminationMessagePolicy(f: (String) => String): Container

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

  43. def mapTty(f: (Boolean) => Boolean): Container

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

  44. def mapVolumeDevices(f: (Seq[VolumeDevice]) => Seq[VolumeDevice]): Container

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

  45. def mapVolumeMounts(f: (Seq[VolumeMount]) => Seq[VolumeMount]): Container

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

  46. def mapWorkingDir(f: (String) => String): Container

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

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

    Returns a new data with args set to new value

  69. def withCommand(value: Seq[String]): Container

    Returns a new data with command set to new value

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

    Returns a new data with env set to new value

  71. def withEnvFrom(value: Seq[EnvFromSource]): Container

    Returns a new data with envFrom set to new value

  72. def withImage(value: String): Container

    Returns a new data with image set to new value

  73. def withImagePullPolicy(value: String): Container

    Returns a new data with imagePullPolicy set to new value

  74. def withLifecycle(value: Lifecycle): Container

    Returns a new data with lifecycle set to new value

  75. def withLivenessProbe(value: Probe): Container

    Returns a new data with livenessProbe set to new value

  76. def withName(value: String): Container

    Returns a new data with name set to new value

  77. def withPorts(value: Seq[ContainerPort]): Container

    Returns a new data with ports set to new value

  78. def withReadinessProbe(value: Probe): Container

    Returns a new data with readinessProbe set to new value

  79. def withResources(value: ResourceRequirements): Container

    Returns a new data with resources set to new value

  80. def withSecurityContext(value: SecurityContext): Container

    Returns a new data with securityContext set to new value

  81. def withStartupProbe(value: Probe): Container

    Returns a new data with startupProbe set to new value

  82. def withStdin(value: Boolean): Container

    Returns a new data with stdin set to new value

  83. def withStdinOnce(value: Boolean): Container

    Returns a new data with stdinOnce set to new value

  84. def withTerminationMessagePath(value: String): Container

    Returns a new data with terminationMessagePath set to new value

  85. def withTerminationMessagePolicy(value: String): Container

    Returns a new data with terminationMessagePolicy set to new value

  86. def withTty(value: Boolean): Container

    Returns a new data with tty set to new value

  87. def withVolumeDevices(value: Seq[VolumeDevice]): Container

    Returns a new data with volumeDevices set to new value

  88. def withVolumeMounts(value: Seq[VolumeMount]): Container

    Returns a new data with volumeMounts set to new value

  89. def withWorkingDir(value: String): Container

    Returns a new data with workingDir set to new value

  90. val workingDir: Option[String]

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped