de.gesellix.docker.client.swarm.ManageSwarm Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of docker-client Show documentation
Show all versions of docker-client Show documentation
A Docker client for the JVM written in Groovy
package de.gesellix.docker.client.swarm;
import de.gesellix.docker.client.EngineResponseContent;
import de.gesellix.docker.remote.api.Swarm;
import de.gesellix.docker.remote.api.SwarmInitRequest;
import de.gesellix.docker.remote.api.SwarmJoinRequest;
import de.gesellix.docker.remote.api.SwarmSpec;
public interface ManageSwarm {
SwarmInitRequest newSwarmInitRequest();
EngineResponseContent initSwarm();
EngineResponseContent initSwarm(SwarmInitRequest swarmInitRequest);
void joinSwarm(SwarmJoinRequest swarmJoinRequest);
EngineResponseContent inspectSwarm();
String getSwarmWorkerToken();
String rotateSwarmWorkerToken();
String getSwarmManagerToken();
String rotateSwarmManagerToken();
void leaveSwarm();
void leaveSwarm(Boolean force);
void unlockSwarm(String unlockKey);
String getSwarmManagerUnlockKey();
String rotateSwarmManagerUnlockKey();
void updateSwarm(long version, SwarmSpec spec);
void updateSwarm(long version, SwarmSpec spec, Boolean rotateWorkerToken);
void updateSwarm(long version, SwarmSpec spec, Boolean rotateWorkerToken, Boolean rotateManagerToken);
void updateSwarm(long version, SwarmSpec spec, Boolean rotateWorkerToken, Boolean rotateManagerToken, Boolean rotateManagerUnlockKey);
}