task links to configs / secrets

This commit is contained in:
mbecker20
2025-12-18 13:43:16 -08:00
parent 62b84328d8
commit fc4ea40b9c
5 changed files with 68 additions and 1 deletions

View File

@@ -35,6 +35,14 @@ pub struct SwarmTaskListItem {
#[serde(rename = "DesiredState")]
pub desired_state: Option<TaskState>,
/// Attached config names
#[serde(rename = "Configs")]
pub configs: Vec<String>,
/// Attached secret names
#[serde(rename = "Secrets")]
pub secrets: Vec<String>,
#[serde(rename = "CreatedAt")]
pub created_at: Option<String>,

View File

@@ -4256,6 +4256,10 @@ export interface SwarmTaskListItem {
ContainerID?: string;
State?: TaskState;
DesiredState?: TaskState;
/** Attached config names */
Configs: string[];
/** Attached secret names */
Secrets: string[];
CreatedAt?: string;
UpdatedAt?: string;
}