Container

skuber.Container
See theContainer companion object
case class Container(name: String, image: String, command: List[String], args: List[String], workingDir: Option[String], ports: List[Port], env: List[EnvVar], resources: Option[Requirements], volumeMounts: List[Mount], livenessProbe: Option[Probe], readinessProbe: Option[Probe], lifecycle: Option[Lifecycle], terminationMessagePath: Option[String], terminationMessagePolicy: Option[Value], imagePullPolicy: Option[Value], securityContext: Option[SecurityContext], envFrom: List[EnvFromSource], stdin: Option[Boolean], stdinOnce: Option[Boolean], tty: Option[Boolean], volumeDevices: List[Device], startupProbe: Option[Probe]) extends Limitable

Attributes

Companion
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait Limitable
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def addResourceLimit(name: String, limit: Quantity): Container
def addResourceRequest(name: String, req: Quantity): Container
def exposePort(port: Int): Container
def mount(name: String, path: String, readOnly: Boolean): Container
def onPostStartDoExec(cmds: List[String]): Container
def onPostStartDoHTTPGet(path: String, port: NameablePort, schema: String): Container
def onPreStopDoExec(cmds: List[String]): Container
def onPreStopDoHTTPGet(path: String, port: Int, schema: String): Container
def setEnvVar(n: String, v: String): Container
def setEnvVarFromField(n: String, fieldPath: String): Container
def withArgs(arg: String*): Container
def withEntrypoint(cmd: String*): Container
def withHttpLivenessProbe(path: String, port: NameablePort, initialDelaySeconds: Int, timeoutSeconds: Int, schema: String): Container
def withHttpReadinessProbe(path: String, port: NameablePort, initialDelaySeconds: Int, timeoutSeconds: Int, schema: String): Container
def withImagePullPolicy(policy: Option[Value]): Container
def withWorkingDir(wd: String): Container

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product