class Client

Class Client.

Traits

Constants

BASE_URL

Methods

__construct(Curl $curl, string $docker_host)

Volume constructor.

mixed
list(array $filters = [])

No description

mixed
inspect(string $id)

No description

mixed
delete(string $id, bool $force = false)

No description

mixed
update(string $id, int $version, string $name, array $labels = null, string $role = null, string $availability = null)

No description

Details

in DockerTrait at line 22
__construct(Curl $curl, string $docker_host)

Volume constructor.

Parameters

Curl $curl
string $docker_host

at line 33
mixed list(array $filters = [])

Parameters

array $filters id= label= membership=(accepted|pending)name=<node name> role=(manager|worker)

Return Value

mixed

Exceptions

Exception

at line 49
mixed inspect(string $id)

Parameters

string $id

Return Value

mixed

Exceptions

Exception

at line 59
mixed delete(string $id, bool $force = false)

Parameters

string $id
bool $force

Return Value

mixed

Exceptions

Exception

at line 72
mixed update(string $id, int $version, string $name, array $labels = null, string $role = null, string $availability = null)

Parameters

string $id
int $version
string $name
array $labels
string $role
string $availability

Return Value

mixed

Exceptions

Exception