com.github.dockerjava.api.command.ListSwarmNodesCmd Maven / Gradle / Ivy
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> {
}
}