Packages

case class Container(name: String, image: String, command: List[String] = List(), args: List[String] = List(), workingDir: Option[String] = None, ports: List[Port] = List(), env: List[EnvVar] = List(), resources: Option[Requirements] = None, volumeMounts: List[Mount] = List(), livenessProbe: Option[Probe] = None, readinessProbe: Option[Probe] = None, lifecycle: Option[Lifecycle] = None, terminationMessagePath: String = "/var/log/termination", imagePullPolicy: Container.PullPolicy.Value = Container.PullPolicy.IfNotPresent, securityContext: Option[Context] = None) extends Limitable with Product with Serializable

Linear Supertypes
Serializable, Serializable, Product, Equals, Limitable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Container
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. Limitable
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Container(name: String, image: String, command: List[String] = List(), args: List[String] = List(), workingDir: Option[String] = None, ports: List[Port] = List(), env: List[EnvVar] = List(), resources: Option[Requirements] = None, volumeMounts: List[Mount] = List(), livenessProbe: Option[Probe] = None, readinessProbe: Option[Probe] = None, lifecycle: Option[Lifecycle] = None, terminationMessagePath: String = "/var/log/termination", imagePullPolicy: Container.PullPolicy.Value = Container.PullPolicy.IfNotPresent, securityContext: Option[Context] = 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 addResourceLimit(name: String, limit: Quantity): Container
  5. def addResourceRequest(name: String, req: Quantity): Container
  6. val args: List[String]
  7. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  8. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  9. val command: List[String]
  10. val env: List[EnvVar]
  11. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  12. def exposePort(port: Int): Container
  13. def exposePort(p: Port): Container
  14. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  15. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  16. val image: String
  17. val imagePullPolicy: Container.PullPolicy.Value
  18. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  19. val lifecycle: Option[Lifecycle]
  20. def limitCPU(cpu: Quantity): Container
  21. def limitMemory(mem: Quantity): Container
  22. val livenessProbe: Option[Probe]
  23. def mount(name: String, path: String, readOnly: Boolean = false): Container
  24. val name: String
  25. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  26. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  27. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  28. def onPostStartDoExec(cmds: List[String]): Container
  29. def onPostStartDoHTTPGet(path: String, port: NameablePort = 80, schema: String = "HTTP"): Container
  30. def onPreStopDoExec(cmds: List[String]): Container
  31. def onPreStopDoHTTPGet(path: String, port: Int = 80, schema: String = "HTTP"): Container
  32. val ports: List[Port]
  33. val readinessProbe: Option[Probe]
  34. def requestCPU(cpu: Quantity): Container
  35. def requestMemory(mem: Quantity): Container
  36. val resources: Option[Requirements]
  37. val securityContext: Option[Context]
  38. def setEnvVar(n: String, v: String): Container
  39. def setEnvVarFromField(n: String, fieldPath: String): Container
  40. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  41. val terminationMessagePath: String
  42. val volumeMounts: List[Mount]
  43. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  44. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  45. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  46. def withArgs(arg: String*): Container
  47. def withEntrypoint(cmd: String*): Container
  48. def withHttpLivenessProbe(path: String, port: NameablePort = 80, initialDelaySeconds: Int = 0, timeoutSeconds: Int = 0, schema: String = "HTTP"): Container
  49. def withHttpReadinessProbe(path: String, port: NameablePort = 80, initialDelaySeconds: Int = 0, timeoutSeconds: Int = 0, schema: String = "HTTP"): Container
  50. def withImagePullPolicy(policy: Container.PullPolicy.Value): Container
  51. def withLivenessProbe(probe: Probe): Container
  52. def withReadinessProbe(probe: Probe): Container
  53. def withTerminationMessagePath(t: String): Container
  54. def withWorkingDir(wd: String): Container
  55. val workingDir: Option[String]

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from Limitable

Inherited from AnyRef

Inherited from Any

Ungrouped