Package | Description |
---|---|
com.github.dockerjava.api | |
com.github.dockerjava.api.command | |
com.github.dockerjava.api.model |
Modifier and Type | Method and Description |
---|---|
CreateServiceCmd |
DockerClientDelegate.createServiceCmd(ServiceSpec serviceSpec) |
CreateServiceCmd |
DockerClient.createServiceCmd(ServiceSpec serviceSpec)
Command to create a service in a docker swarm.
|
UpdateServiceCmd |
DockerClientDelegate.updateServiceCmd(String serviceId,
ServiceSpec serviceSpec) |
UpdateServiceCmd |
DockerClient.updateServiceCmd(String serviceId,
ServiceSpec serviceSpec)
Command to update a service specification
|
Modifier and Type | Method and Description |
---|---|
ServiceSpec |
UpdateServiceCmd.getServiceSpec() |
ServiceSpec |
CreateServiceCmd.getServiceSpec() |
Modifier and Type | Method and Description |
---|---|
UpdateServiceCmd |
UpdateServiceCmd.withServiceSpec(ServiceSpec serviceSpec) |
CreateServiceCmd |
CreateServiceCmd.withServiceSpec(ServiceSpec serviceSpec) |
Modifier and Type | Method and Description |
---|---|
ServiceSpec |
Secret.getSpec() |
ServiceSpec |
Service.getSpec() |
ServiceSpec |
ServiceSpec.withEndpointSpec(EndpointSpec endpointSpec) |
ServiceSpec |
ServiceSpec.withLabels(Map<String,String> labels) |
ServiceSpec |
ServiceSpec.withMode(ServiceModeConfig mode) |
ServiceSpec |
ServiceSpec.withName(String name) |
ServiceSpec |
ServiceSpec.withNetworks(List<NetworkAttachmentConfig> networks) |
ServiceSpec |
ServiceSpec.withRollbackConfig(UpdateConfig rollbackConfig) |
ServiceSpec |
ServiceSpec.withTaskTemplate(TaskSpec taskTemplate) |
ServiceSpec |
ServiceSpec.withUpdateConfig(UpdateConfig updateConfig) |
Modifier and Type | Method and Description |
---|---|
void |
Secret.setSpec(ServiceSpec spec) |
Service |
Service.withSpec(ServiceSpec spec) |
Copyright © 2025. All rights reserved.