com.github.dockerjava.api.command.InitializeSwarmCmd Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of org.apache.servicemix.bundles.docker-java
Show all versions of org.apache.servicemix.bundles.docker-java
This OSGi bundle wraps ${pkgArtifactId} ${pkgVersion} jar file.
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 {
}
}