public interface CreateServiceCmd extends SyncDockerCmd<CreateServiceResponse>
RemoteApiVersion#VERSION_1_24
Modifier and Type | Interface and Description |
---|---|
static interface |
CreateServiceCmd.Exec |
Modifier and Type | Method and Description |
---|---|
CreateServiceResponse |
exec() |
AuthConfig |
getAuthConfig() |
ServiceSpec |
getServiceSpec() |
CreateServiceCmd |
withAuthConfig(AuthConfig authConfig) |
CreateServiceCmd |
withServiceSpec(ServiceSpec serviceSpec) |
@CheckForNull ServiceSpec getServiceSpec()
@CheckForNull AuthConfig getAuthConfig()
CreateServiceCmd withServiceSpec(ServiceSpec serviceSpec)
CreateServiceCmd withAuthConfig(AuthConfig authConfig)
CreateServiceResponse exec() throws ConflictException
exec
in interface SyncDockerCmd<CreateServiceResponse>
ConflictException
- Named service already existsCopyright © 2021. All rights reserved.