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