public interface ListServicesCmd extends SyncDockerCmd<List<Service>>
RemoteApiVersion#VERSION_1_24
Modifier and Type | Interface and Description |
---|---|
static interface |
ListServicesCmd.Exec |
Modifier and Type | Method and Description |
---|---|
Map<String,List<String>> |
getFilters() |
ListServicesCmd |
withIdFilter(List<String> ids) |
ListServicesCmd |
withLabelFilter(Map<String,String> labels) |
ListServicesCmd |
withNameFilter(List<String> names) |
exec
@CheckForNull Map<String,List<String>> getFilters()
ListServicesCmd withIdFilter(List<String> ids)
ids
- - Show only services with the given idsListServicesCmd withNameFilter(List<String> names)
names
- - Show only services with the given namesListServicesCmd withLabelFilter(Map<String,String> labels)
labels
- - Show only services with the passed labels. Labels is a Map
that contains label keys and valuesCopyright © 2021. All rights reserved.