ServiceState constructor
const
ServiceState({
- Input<
ServiceAuth?> ? auth, - Input<
ServiceConvergeConfig?> ? convergeConfig, - Input<
ServiceEndpointSpec?> ? endpointSpec, - Input<
List< ? labels,ServiceLabel> ?> - Input<
ServiceMode?> ? mode, - Input<
String?> ? name, - Input<
ServiceRollbackConfig?> ? rollbackConfig, - Input<
ServiceTaskSpec?> ? taskSpec, - Input<
ServiceUpdateConfig?> ? updateConfig,
Creates a new ServiceState.
auth Configuration for the authentication for pulling the images of the service
convergeConfig A configuration to ensure that a service converges aka reaches the desired that of all task up and running
endpointSpec Properties that can be configured to access and load balance a service
labels User-defined key/value metadata
mode Scheduling mode for the service
name Name of the service
rollbackConfig Specification for the rollback strategy of the service
taskSpec User modifiable task configuration
updateConfig Specification for the update strategy of the service
Implementation
const ServiceState({
this.auth,
this.convergeConfig,
this.endpointSpec,
this.labels,
this.mode,
this.name,
this.rollbackConfig,
this.taskSpec,
this.updateConfig,
});