class Container extends Collection (View source)

Properties

protected $collection_key
string[] $args
string[] $command
protected $envType
protected $envDataType
protected $envFromType
protected $envFromDataType
string $image
string $imagePullPolicy
protected $livenessProbeType
protected $livenessProbeDataType
string $name
protected $portsType
protected $portsDataType
protected $readinessProbeType
protected $readinessProbeDataType
protected $resourcesType
protected $resourcesDataType
protected $securityContextType
protected $securityContextDataType
protected $startupProbeType
protected $startupProbeDataType
string $terminationMessagePath
string $terminationMessagePolicy
protected $volumeMountsType
protected $volumeMountsDataType
string $workingDir

Methods

setArgs($args)

No description

string[]
getArgs()

No description

setCommand($command)

No description

string[]
getCommand()

No description

setEnv($env)

No description

EnvVar[]
getEnv()

No description

setEnvFrom($envFrom)

No description

getEnvFrom()

No description

setImage($image)

No description

string
getImage()

No description

setImagePullPolicy($imagePullPolicy)

No description

string
getImagePullPolicy()

No description

setLivenessProbe(Probe $livenessProbe)

No description

getLivenessProbe()

No description

setName($name)

No description

string
getName()

No description

setPorts($ports)

No description

getPorts()

No description

setReadinessProbe(Probe $readinessProbe)

No description

getReadinessProbe()

No description

setResources(ResourceRequirements $resources)

No description

setSecurityContext(SecurityContext $securityContext)

No description

setStartupProbe(Probe $startupProbe)

No description

getStartupProbe()

No description

setTerminationMessagePath($terminationMessagePath)

No description

string
getTerminationMessagePath()

No description

setTerminationMessagePolicy($terminationMessagePolicy)

No description

string
getTerminationMessagePolicy()

No description

setVolumeMounts($volumeMounts)

No description

getVolumeMounts()

No description

setWorkingDir($workingDir)

No description

string
getWorkingDir()

No description

Details

setArgs($args)

No description

Parameters

$args

string[] getArgs()

No description

Return Value

string[]

setCommand($command)

No description

Parameters

$command

string[] getCommand()

No description

Return Value

string[]

setEnv($env)

No description

Parameters

$env

EnvVar[] getEnv()

No description

Return Value

EnvVar[]

setEnvFrom($envFrom)

No description

Parameters

$envFrom

EnvFromSource[] getEnvFrom()

No description

Return Value

EnvFromSource[]

setImage($image)

No description

Parameters

$image

string getImage()

No description

Return Value

string

setImagePullPolicy($imagePullPolicy)

No description

Parameters

$imagePullPolicy

string getImagePullPolicy()

No description

Return Value

string

setLivenessProbe(Probe $livenessProbe)

No description

Parameters

Probe $livenessProbe

Probe getLivenessProbe()

No description

Return Value

Probe

setName($name)

No description

Parameters

$name

string getName()

No description

Return Value

string

setPorts($ports)

No description

Parameters

$ports

ContainerPort[] getPorts()

No description

Return Value

ContainerPort[]

setReadinessProbe(Probe $readinessProbe)

No description

Parameters

Probe $readinessProbe

Probe getReadinessProbe()

No description

Return Value

Probe

setResources(ResourceRequirements $resources)

No description

Parameters

ResourceRequirements $resources

ResourceRequirements getResources()

No description

Return Value

ResourceRequirements

setSecurityContext(SecurityContext $securityContext)

No description

Parameters

SecurityContext $securityContext

SecurityContext getSecurityContext()

No description

Return Value

SecurityContext

setStartupProbe(Probe $startupProbe)

No description

Parameters

Probe $startupProbe

Probe getStartupProbe()

No description

Return Value

Probe

setTerminationMessagePath($terminationMessagePath)

No description

Parameters

$terminationMessagePath

string getTerminationMessagePath()

No description

Return Value

string

setTerminationMessagePolicy($terminationMessagePolicy)

No description

Parameters

$terminationMessagePolicy

string getTerminationMessagePolicy()

No description

Return Value

string

setVolumeMounts($volumeMounts)

No description

Parameters

$volumeMounts

VolumeMount[] getVolumeMounts()

No description

Return Value

VolumeMount[]

setWorkingDir($workingDir)

No description

Parameters

$workingDir

string getWorkingDir()

No description

Return Value

string