# README
Filters README
The Docker Swarm
scheduler comes with multiple filters. To read the end-user
filters documentation, visit the Swarm API documentation on
docs.docker.com.
# Functions
ApplyFilters applies a set of filters in batch.
List returns the names of all the available filters.
New is exported.
# Variables
ErrNoHealthyNodeAvailable is exported.
ErrNoNodeWithFreeSlotsAvailable is exported.
ErrNotSupported is exported.
OPERATORS is exported.
# Structs
AffinityFilter selects only nodes based on other containers on the node.
ConstraintFilter selects only nodes that match certain labels.
DependencyFilter co-schedules dependent containers on the same node.
HealthFilter only schedules containers on healthy nodes.
PortFilter guarantees that, when scheduling a container binding a public port, only nodes that have not already allocated that same port will be considered.
SlotsFilter only schedules containers with open slots.
WhitelistFilter selects only nodes that are defined in a whitelist by the user.
# Interfaces
Filter is exported.