class Client

Class Client.

Methods

__construct(Curl $curl, string $docker_host)

No description

mixed
checkAuthConfig(string $username, string $password, string $serverAddress = 'https://index.docker.io/v1/')

No description

string
authJson(string $username, string $password, string $serveraddress = 'https://index.docker.io/v1/')

No description

mixed
info()

No description

mixed
version()

No description

string
arch()

No description

mixed
ping(int $timeout = 0)

No description

mixed
events(string $since, string $until, array $filters = [])

No description

mixed
dataUsageInfo()

No description

Details

at line 24
__construct(Curl $curl, string $docker_host)

Parameters

Curl $curl
string $docker_host

at line 41
mixed checkAuthConfig(string $username, string $password, string $serverAddress = 'https://index.docker.io/v1/')

Parameters

string $username
string $password
string $serverAddress

Return Value

mixed

Exceptions

Exception

at line 61
string authJson(string $username, string $password, string $serveraddress = 'https://index.docker.io/v1/')

Parameters

string $username
string $password
string $serveraddress

Return Value

string

at line 79
mixed info()

Return Value

mixed

Exceptions

Exception

at line 89
mixed version()

Return Value

mixed

Exceptions

Exception

at line 99
string arch()

Return Value

string

Exceptions

Exception

at line 115
mixed ping(int $timeout = 0)

Parameters

int $timeout

Return Value

mixed

Exceptions

Exception

at line 154
mixed events(string $since, string $until, array $filters = [])

Parameters

string $since
string $until
array $filters config= config name or ID container= container name or ID daemon= daemon name or ID event= event type image= image name or ID label= image or container label network= network name or ID node= node ID plugin= plugin name or ID scope= local or swarm secret= secret name or ID service= service name or ID type= object to filter by, one of container, image, volume, network, daemon, plugin, node, service, secret or config volume= volume name

Return Value

mixed

Exceptions

Exception

See also

https://docs.docker.com/engine/api/v1.37/#operation/SystemEvents

at line 172
mixed dataUsageInfo()

Return Value

mixed

Exceptions

Exception