All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.github.dockerjava.api.command.InitializeSwarmCmd Maven / Gradle / Ivy

There is a newer version: 3.4.0
Show newest version
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 {

    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy