Client
class Client
Class Client.
Constants
BASE_URL |
|
Methods
__construct(Curl $curl, string $docker_host)
No description
mixed
inspect()
No description
mixed
initialize(string $advertiseAddr, string $listenAddr = '0.0.0.0:2377', string $dataPathAddr = null, bool $forceNewCluster = false, array $spec = null)
No description
mixed
join(string $listenAddress, string $advertiseAddress, string $dataPathAddress, string $remoteAddress, string $joinToken)
No description
mixed
leave(bool $force = false)
No description
mixed
update(int $version, string $name, bool $rotateWorkerToken = false, bool $rotateManagerToken = false, bool $rotateManagerUnlockKey = false, array $labels = [], array $orchestration = [], array $raft = [], array $dispatcher = [], array $caConfig = [], array $encryptionConfig = [], array $taskDefaults = [])
No description
mixed
getUnlockKey()
No description
mixed
unlock(string $unlockKey)
No description