docker-sdk-rust/docs/Task.md
2025-06-16 16:37:36 +07:00

1.5 KiB

Task

Properties

Name Type Description Notes
id Option<String> The ID of the task. [optional]
version Option<models::ObjectVersion> [optional]
created_at Option<String> [optional]
updated_at Option<String> [optional]
name Option<String> Name of the task. [optional]
labels Option<std::collections::HashMap<String, String>> User-defined key/value metadata. [optional]
spec Option<models::TaskSpec> [optional]
service_id Option<String> The ID of the service this task is part of. [optional]
slot Option<i32> [optional]
node_id Option<String> The ID of the node that this task is on. [optional]
assigned_generic_resources Option<Vecmodels::GenericResourcesInner> User-defined resources can be either Integer resources (e.g, SSD=3) or String resources (e.g, GPU=UUID1). [optional]
status Option<models::TaskStatus> [optional]
desired_state Option<models::TaskState> [optional]
job_iteration Option<models::ObjectVersion> [optional]

[Back to Model list] [Back to API list] [Back to README]