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

com.github.dockerjava.api.command.ListSwarmNodesCmd 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.SwarmNode;

import javax.annotation.CheckForNull;
import java.util.List;
import java.util.Map;

/**
 * List SwarmNodes
 *
 * @since {@link RemoteApiVersion#VERSION_1_24}
 */
public interface ListSwarmNodesCmd extends SyncDockerCmd> {

    @CheckForNull
    Map> getFilters();

    /**
     * @param ids - Show only swarmNodes with the given ids
     */
    ListSwarmNodesCmd withIdFilter(List ids);

    /**
     * @param names - Show only swarmNodes with the given names
     */
    ListSwarmNodesCmd withNameFilter(List names);

    /**
     * @param memberships - Show only swarmNodes with the given memberships
     */
    ListSwarmNodesCmd withMembershipFilter(List memberships);

    /**
     * @param roles - Show only swarmNodes with the given roles
     */
    ListSwarmNodesCmd withRoleFilter(List roles);

    interface Exec extends DockerCmdSyncExec> {
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy