public interface CreateServiceCmd extends SyncDockerCmd<CreateServiceResponse>
Modifier and Type | Interface and Description |
---|---|
static interface |
CreateServiceCmd.Exec |
Modifier and Type | Method and Description |
---|---|
CreateServiceResponse |
exec() |
ServiceSpec |
getServiceSpec() |
CreateServiceCmd |
withServiceSpec(ServiceSpec serviceSpec) |
@CheckForNull ServiceSpec getServiceSpec()
CreateServiceCmd withServiceSpec(ServiceSpec serviceSpec)
CreateServiceResponse exec() throws ConflictException
exec
in interface SyncDockerCmd<CreateServiceResponse>
ConflictException
- Named service already existsCopyright © 2019. All Rights Reserved.