pub struct IoArgoprojWorkflowV1alpha1ResourceTemplate {
pub action: String,
pub failure_condition: Option<String>,
pub flags: Vec<String>,
pub manifest: Option<String>,
pub manifest_from: Option<IoArgoprojWorkflowV1alpha1ManifestFrom>,
pub merge_strategy: Option<String>,
pub set_owner_reference: Option<bool>,
pub success_condition: Option<String>,
}Expand description
ResourceTemplate is a template subtype to manipulate kubernetes resources
Fields§
§action: StringAction is the action to perform to the resource. Must be one of: get, create, apply, delete, replace, patch
failure_condition: Option<String>FailureCondition is a label selector expression which describes the conditions of the k8s resource in which the step was considered failed
flags: Vec<String>Flags is a set of additional options passed to kubectl before submitting a resource I.e. to disable resource validation: flags: [ “–validate=false” # disable resource validation ]
manifest: Option<String>Manifest contains the kubernetes manifest
manifest_from: Option<IoArgoprojWorkflowV1alpha1ManifestFrom>ManifestFrom is the source for a single kubernetes manifest
merge_strategy: Option<String>MergeStrategy is the strategy used to merge a patch. It defaults to “strategic” Must be one of: strategic, merge, json
set_owner_reference: Option<bool>SetOwnerReference sets the reference to the workflow on the OwnerReference of generated resource.
success_condition: Option<String>SuccessCondition is a label selector expression which describes the conditions of the k8s resource in which it is acceptable to proceed to the following step
Trait Implementations§
Source§impl Clone for IoArgoprojWorkflowV1alpha1ResourceTemplate
impl Clone for IoArgoprojWorkflowV1alpha1ResourceTemplate
Source§fn clone(&self) -> IoArgoprojWorkflowV1alpha1ResourceTemplate
fn clone(&self) -> IoArgoprojWorkflowV1alpha1ResourceTemplate
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more