com.github.dockerjava.api.command.InitializeSwarmCmd Maven / Gradle / Ivy
package com.github.dockerjava.api.command;
import com.github.dockerjava.api.model.SwarmSpec;
import javax.annotation.CheckForNull;
public interface InitializeSwarmCmd extends SyncDockerCmd {
@CheckForNull
String getListenAddr();
InitializeSwarmCmd withListenAddr(String listenAddr);
@CheckForNull
String getAdvertiseAddr();
InitializeSwarmCmd withAdvertiseAddr(String advertiseAddr);
@CheckForNull
Boolean isForceNewCluster();
InitializeSwarmCmd withForceNewCluster(Boolean forceNewCluster);
@CheckForNull
SwarmSpec getSwarmSpec();
InitializeSwarmCmd withSwarmSpec(SwarmSpec swarmSpec);
@Override
Void exec();
interface Exec extends DockerCmdSyncExec {
}
}