PHP Class Docker\API\Model\ContainerConfig

Mostra file Open project: docker-php/docker-php Class Usage Examples

Protected Properties

Property Type Description
$attachStderr boolean
$attachStdin boolean
$attachStdout boolean
$cmd string[] | string
$command string
$created integer
$domainname integer
$entrypoint string[] | string
$env string[] | null
$exposedPorts mixed[]
$hostConfig HostConfig
$hostname integer
$id string
$image string
$imageID string
$labels string[]
$macAddress string
$mounts Mount[] | null
$names string[] | null
$networkDisabled boolean
$networkSettings NetworkConfig
$openStdin boolean
$ports Docker\API\Model\Port[] | null
$sizeRootFs integer
$sizeRw integer
$state string
$status string
$stdinOnce boolean
$tty boolean
$user integer
$workingDir string

Public Methods

Method Description
getAttachStderr ( ) : boolean
getAttachStdin ( ) : boolean
getAttachStdout ( ) : boolean
getCmd ( ) : string[] | string
getCommand ( ) : string
getCreated ( ) : integer
getDomainname ( ) : integer
getEntrypoint ( ) : string[] | string
getEnv ( ) : string[] | null
getExposedPorts ( ) : mixed[]
getHostConfig ( ) : HostConfig
getHostname ( ) : integer
getId ( ) : string
getImage ( ) : string
getImageID ( ) : string
getLabels ( ) : string[]
getMacAddress ( ) : string
getMounts ( ) : Mount[] | null
getNames ( ) : string[] | null
getNetworkDisabled ( ) : boolean
getNetworkSettings ( ) : NetworkConfig
getOpenStdin ( ) : boolean
getPorts ( ) : Docker\API\Model\Port[] | null
getSizeRootFs ( ) : integer
getSizeRw ( ) : integer
getState ( ) : string
getStatus ( ) : string
getStdinOnce ( ) : boolean
getTty ( ) : boolean
getUser ( ) : integer
getWorkingDir ( ) : string
setAttachStderr ( boolean $attachStderr = null ) : self
setAttachStdin ( boolean $attachStdin = null ) : self
setAttachStdout ( boolean $attachStdout = null ) : self
setCmd ( string[] | string $cmd = null ) : self
setCommand ( string $command = null ) : self
setCreated ( integer $created = null ) : self
setDomainname ( integer $domainname = null ) : self
setEntrypoint ( string[] | string $entrypoint = null ) : self
setEnv ( string[] | null $env = null ) : self
setExposedPorts ( ArrayObject $exposedPorts = null ) : self
setHostConfig ( HostConfig $hostConfig = null ) : self
setHostname ( integer $hostname = null ) : self
setId ( string $id = null ) : self
setImage ( string $image = null ) : self
setImageID ( string $imageID = null ) : self
setLabels ( ArrayObject $labels = null ) : self
setMacAddress ( string $macAddress = null ) : self
setMounts ( Mount[] | null $mounts = null ) : self
setNames ( string[] | null $names = null ) : self
setNetworkDisabled ( boolean $networkDisabled = null ) : self
setNetworkSettings ( NetworkConfig $networkSettings = null ) : self
setOpenStdin ( boolean $openStdin = null ) : self
setPorts ( Docker\API\Model\Port[] | null $ports = null ) : self
setSizeRootFs ( integer $sizeRootFs = null ) : self
setSizeRw ( integer $sizeRw = null ) : self
setState ( string $state = null ) : self
setStatus ( string $status = null ) : self
setStdinOnce ( boolean $stdinOnce = null ) : self
setTty ( boolean $tty = null ) : self
setUser ( integer $user = null ) : self
setWorkingDir ( string $workingDir = null ) : self

Method Details

getAttachStderr() public method

public getAttachStderr ( ) : boolean
return boolean

getAttachStdin() public method

public getAttachStdin ( ) : boolean
return boolean

getAttachStdout() public method

public getAttachStdout ( ) : boolean
return boolean

getCmd() public method

public getCmd ( ) : string[] | string
return string[] | string

getCommand() public method

public getCommand ( ) : string
return string

getCreated() public method

public getCreated ( ) : integer
return integer

getDomainname() public method

public getDomainname ( ) : integer
return integer

getEntrypoint() public method

public getEntrypoint ( ) : string[] | string
return string[] | string

getEnv() public method

public getEnv ( ) : string[] | null
return string[] | null

getExposedPorts() public method

public getExposedPorts ( ) : mixed[]
return mixed[]

getHostConfig() public method

public getHostConfig ( ) : HostConfig
return HostConfig

getHostname() public method

public getHostname ( ) : integer
return integer

getId() public method

public getId ( ) : string
return string

getImage() public method

public getImage ( ) : string
return string

getImageID() public method

public getImageID ( ) : string
return string

getLabels() public method

public getLabels ( ) : string[]
return string[]

getMacAddress() public method

public getMacAddress ( ) : string
return string

getMounts() public method

public getMounts ( ) : Mount[] | null
return Mount[] | null

getNames() public method

public getNames ( ) : string[] | null
return string[] | null

getNetworkDisabled() public method

public getNetworkDisabled ( ) : boolean
return boolean

getNetworkSettings() public method

public getNetworkSettings ( ) : NetworkConfig
return NetworkConfig

getOpenStdin() public method

public getOpenStdin ( ) : boolean
return boolean

getPorts() public method

public getPorts ( ) : Docker\API\Model\Port[] | null
return Docker\API\Model\Port[] | null

getSizeRootFs() public method

public getSizeRootFs ( ) : integer
return integer

getSizeRw() public method

public getSizeRw ( ) : integer
return integer

getState() public method

public getState ( ) : string
return string

getStatus() public method

public getStatus ( ) : string
return string

getStdinOnce() public method

public getStdinOnce ( ) : boolean
return boolean

getTty() public method

public getTty ( ) : boolean
return boolean

getUser() public method

public getUser ( ) : integer
return integer

getWorkingDir() public method

public getWorkingDir ( ) : string
return string

setAttachStderr() public method

public setAttachStderr ( boolean $attachStderr = null ) : self
$attachStderr boolean
return self

setAttachStdin() public method

public setAttachStdin ( boolean $attachStdin = null ) : self
$attachStdin boolean
return self

setAttachStdout() public method

public setAttachStdout ( boolean $attachStdout = null ) : self
$attachStdout boolean
return self

setCmd() public method

public setCmd ( string[] | string $cmd = null ) : self
$cmd string[] | string
return self

setCommand() public method

public setCommand ( string $command = null ) : self
$command string
return self

setCreated() public method

public setCreated ( integer $created = null ) : self
$created integer
return self

setDomainname() public method

public setDomainname ( integer $domainname = null ) : self
$domainname integer
return self

setEntrypoint() public method

public setEntrypoint ( string[] | string $entrypoint = null ) : self
$entrypoint string[] | string
return self

setEnv() public method

public setEnv ( string[] | null $env = null ) : self
$env string[] | null
return self

setExposedPorts() public method

public setExposedPorts ( ArrayObject $exposedPorts = null ) : self
$exposedPorts ArrayObject
return self

setHostConfig() public method

public setHostConfig ( HostConfig $hostConfig = null ) : self
$hostConfig HostConfig
return self

setHostname() public method

public setHostname ( integer $hostname = null ) : self
$hostname integer
return self

setId() public method

public setId ( string $id = null ) : self
$id string
return self

setImage() public method

public setImage ( string $image = null ) : self
$image string
return self

setImageID() public method

public setImageID ( string $imageID = null ) : self
$imageID string
return self

setLabels() public method

public setLabels ( ArrayObject $labels = null ) : self
$labels ArrayObject
return self

setMacAddress() public method

public setMacAddress ( string $macAddress = null ) : self
$macAddress string
return self

setMounts() public method

public setMounts ( Mount[] | null $mounts = null ) : self
$mounts Mount[] | null
return self

setNames() public method

public setNames ( string[] | null $names = null ) : self
$names string[] | null
return self

setNetworkDisabled() public method

public setNetworkDisabled ( boolean $networkDisabled = null ) : self
$networkDisabled boolean
return self

setNetworkSettings() public method

public setNetworkSettings ( NetworkConfig $networkSettings = null ) : self
$networkSettings NetworkConfig
return self

setOpenStdin() public method

public setOpenStdin ( boolean $openStdin = null ) : self
$openStdin boolean
return self

setPorts() public method

public setPorts ( Docker\API\Model\Port[] | null $ports = null ) : self
$ports Docker\API\Model\Port[] | null
return self

setSizeRootFs() public method

public setSizeRootFs ( integer $sizeRootFs = null ) : self
$sizeRootFs integer
return self

setSizeRw() public method

public setSizeRw ( integer $sizeRw = null ) : self
$sizeRw integer
return self

setState() public method

public setState ( string $state = null ) : self
$state string
return self

setStatus() public method

public setStatus ( string $status = null ) : self
$status string
return self

setStdinOnce() public method

public setStdinOnce ( boolean $stdinOnce = null ) : self
$stdinOnce boolean
return self

setTty() public method

public setTty ( boolean $tty = null ) : self
$tty boolean
return self

setUser() public method

public setUser ( integer $user = null ) : self
$user integer
return self

setWorkingDir() public method

public setWorkingDir ( string $workingDir = null ) : self
$workingDir string
return self

Property Details

$attachStderr protected_oe property

protected bool $attachStderr
return boolean

$attachStdin protected_oe property

protected bool $attachStdin
return boolean

$attachStdout protected_oe property

protected bool $attachStdout
return boolean

$cmd protected_oe property

protected string[]|string $cmd
return string[] | string

$command protected_oe property

protected string $command
return string

$created protected_oe property

protected int $created
return integer

$domainname protected_oe property

protected int $domainname
return integer

$entrypoint protected_oe property

protected string[]|string $entrypoint
return string[] | string

$env protected_oe property

protected string[]|null $env
return string[] | null

$exposedPorts protected_oe property

protected mixed[] $exposedPorts
return mixed[]

$hostConfig protected_oe property

protected HostConfig,Docker\API\Model $hostConfig
return HostConfig

$hostname protected_oe property

protected int $hostname
return integer

$id protected_oe property

protected string $id
return string

$image protected_oe property

protected string $image
return string

$imageID protected_oe property

protected string $imageID
return string

$labels protected_oe property

protected string[] $labels
return string[]

$macAddress protected_oe property

protected string $macAddress
return string

$mounts protected_oe property

protected Mount[],Docker\API\Model|null $mounts
return Mount[] | null

$names protected_oe property

protected string[]|null $names
return string[] | null

$networkDisabled protected_oe property

protected bool $networkDisabled
return boolean

$networkSettings protected_oe property

protected NetworkConfig,Docker\API\Model $networkSettings
return NetworkConfig

$openStdin protected_oe property

protected bool $openStdin
return boolean

$ports protected_oe property

protected Port[],Docker\API\Model|null $ports
return Docker\API\Model\Port[] | null

$sizeRootFs protected_oe property

protected int $sizeRootFs
return integer

$sizeRw protected_oe property

protected int $sizeRw
return integer

$state protected_oe property

protected string $state
return string

$status protected_oe property

protected string $status
return string

$stdinOnce protected_oe property

protected bool $stdinOnce
return boolean

$tty protected_oe property

protected bool $tty
return boolean

$user protected_oe property

protected int $user
return integer

$workingDir protected_oe property

protected string $workingDir
return string