IoArgoprojWorkflowV1alpha1NodeStatus

Struct IoArgoprojWorkflowV1alpha1NodeStatus 

Source
pub struct IoArgoprojWorkflowV1alpha1NodeStatus {
Show 24 fields pub boundary_id: Option<String>, pub children: Vec<String>, pub daemoned: Option<bool>, pub display_name: Option<String>, pub estimated_duration: Option<i64>, pub finished_at: Option<IoK8sApimachineryPkgApisMetaV1Time>, pub host_node_name: Option<String>, pub id: String, pub inputs: Option<IoArgoprojWorkflowV1alpha1Inputs>, pub memoization_status: Option<IoArgoprojWorkflowV1alpha1MemoizationStatus>, pub message: Option<String>, pub name: String, pub outbound_nodes: Vec<String>, pub outputs: Option<IoArgoprojWorkflowV1alpha1Outputs>, pub phase: Option<String>, pub pod_ip: Option<String>, pub progress: Option<String>, pub resources_duration: HashMap<String, i64>, pub started_at: Option<IoK8sApimachineryPkgApisMetaV1Time>, pub synchronization_status: Option<IoArgoprojWorkflowV1alpha1NodeSynchronizationStatus>, pub template_name: Option<String>, pub template_ref: Option<IoArgoprojWorkflowV1alpha1TemplateRef>, pub template_scope: Option<String>, pub type_: String,
}
Expand description

NodeStatus contains status information about an individual node in the workflow

Fields§

§boundary_id: Option<String>

BoundaryID indicates the node ID of the associated template root node in which this node belongs to

§children: Vec<String>

Children is a list of child node IDs

§daemoned: Option<bool>

Daemoned tracks whether or not this node was daemoned and need to be terminated

§display_name: Option<String>

DisplayName is a human readable representation of the node. Unique within a template boundary

§estimated_duration: Option<i64>

EstimatedDuration in seconds.

§finished_at: Option<IoK8sApimachineryPkgApisMetaV1Time>

Time at which this node completed

§host_node_name: Option<String>

HostNodeName name of the Kubernetes node on which the Pod is running, if applicable

§id: String

ID is a unique identifier of a node within the worklow It is implemented as a hash of the node name, which makes the ID deterministic

§inputs: Option<IoArgoprojWorkflowV1alpha1Inputs>

Inputs captures input parameter values and artifact locations supplied to this template invocation

§memoization_status: Option<IoArgoprojWorkflowV1alpha1MemoizationStatus>

MemoizationStatus holds information about cached nodes

§message: Option<String>

A human readable message indicating details about why the node is in this condition.

§name: String

Name is unique name in the node tree used to generate the node ID

§outbound_nodes: Vec<String>

OutboundNodes tracks the node IDs which are considered “outbound” nodes to a template invocation. For every invocation of a template, there are nodes which we considered as “outbound”. Essentially, these are last nodes in the execution sequence to run, before the template is considered completed. These nodes are then connected as parents to a following step.

In the case of single pod steps (i.e. container, script, resource templates), this list will be nil since the pod itself is already considered the “outbound” node. In the case of DAGs, outbound nodes are the “target” tasks (tasks with no children). In the case of steps, outbound nodes are all the containers involved in the last step group. NOTE: since templates are composable, the list of outbound nodes are carried upwards when a DAG/steps template invokes another DAG/steps template. In other words, the outbound nodes of a template, will be a superset of the outbound nodes of its last children.

§outputs: Option<IoArgoprojWorkflowV1alpha1Outputs>

Outputs captures output parameter values and artifact locations produced by this template invocation

§phase: Option<String>

Phase a simple, high-level summary of where the node is in its lifecycle. Can be used as a state machine. Will be one of these values “Pending”, “Running” before the node is completed, or “Succeeded”, “Skipped”, “Failed”, “Error”, or “Omitted” as a final state.

§pod_ip: Option<String>

PodIP captures the IP of the pod for daemoned steps

§progress: Option<String>

Progress to completion

§resources_duration: HashMap<String, i64>

ResourcesDuration is indicative, but not accurate, resource duration. This is populated when the nodes completes.

§started_at: Option<IoK8sApimachineryPkgApisMetaV1Time>

Time at which this node started

§synchronization_status: Option<IoArgoprojWorkflowV1alpha1NodeSynchronizationStatus>

SynchronizationStatus is the synchronization status of the node

§template_name: Option<String>

TemplateName is the template name which this node corresponds to. Not applicable to virtual nodes (e.g. Retry, StepGroup)

§template_ref: Option<IoArgoprojWorkflowV1alpha1TemplateRef>

TemplateRef is the reference to the template resource which this node corresponds to. Not applicable to virtual nodes (e.g. Retry, StepGroup)

§template_scope: Option<String>

TemplateScope is the template scope in which the template of this node was retrieved.

§type_: String

Type indicates type of node

Trait Implementations§

Source§

impl Clone for IoArgoprojWorkflowV1alpha1NodeStatus

Source§

fn clone(&self) -> IoArgoprojWorkflowV1alpha1NodeStatus

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for IoArgoprojWorkflowV1alpha1NodeStatus

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<'de> Deserialize<'de> for IoArgoprojWorkflowV1alpha1NodeStatus

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl From<&IoArgoprojWorkflowV1alpha1NodeStatus> for IoArgoprojWorkflowV1alpha1NodeStatus

Source§

fn from(value: &IoArgoprojWorkflowV1alpha1NodeStatus) -> Self

Converts to this type from the input type.
Source§

impl Serialize for IoArgoprojWorkflowV1alpha1NodeStatus

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,