Enum docker_api::api::task::opts::TaskFilter [−][src]
pub enum TaskFilter {
DesiredState(TaskStateFilter),
Id(String),
LabelKey(String),
Label(String, String),
Name(String),
Node(String),
Service(String),
}This is supported on crate feature
swarm only.Variants
The state that the task should be in.
Tuple Fields of DesiredState
The ID of the config.
Tuple Fields of Id
0: StringLabel in the form of label=key
Tuple Fields of LabelKey
0: StringLabel in the form of label=key=val
The name of the config.
Tuple Fields of Name
0: StringName of the node.
Tuple Fields of Node
0: StringName of the service.
Tuple Fields of Service
0: String