pub type ServiceSpec = ServiceSpec;
👎Deprecated since 0.8.0: Please use
docker_sdk::service::ServiceSpec
. This will be removed in 0.9.0.Aliased Type§
pub struct ServiceSpec {
pub name: String,
pub labels: Option<Value>,
pub task_template: TaskSpec,
pub mode: Mode,
pub update_config: Option<UpdateConfig>,
pub rollback_config: Option<UpdateConfig>,
pub networks: Option<Vec<NetworkAttachmentConfig>>,
pub endpoint_spec: EndpointSpec,
}
Fields§
§name: String
§labels: Option<Value>
§task_template: TaskSpec
§mode: Mode
§update_config: Option<UpdateConfig>
§rollback_config: Option<UpdateConfig>
§networks: Option<Vec<NetworkAttachmentConfig>>
§endpoint_spec: EndpointSpec