mirror of
https://github.com/moghtech/komodo.git
synced 2026-03-11 17:44:19 -05:00
task links to configs / secrets
This commit is contained in:
@@ -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>,
|
||||
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user