pub struct IoArgoprojWorkflowV1alpha1ValueFrom {
pub config_map_key_ref: Option<IoK8sApiCoreV1ConfigMapKeySelector>,
pub default: Option<String>,
pub event: Option<String>,
pub expression: Option<String>,
pub jq_filter: Option<String>,
pub json_path: Option<String>,
pub parameter: Option<String>,
pub path: Option<String>,
pub supplied: Option<IoArgoprojWorkflowV1alpha1SuppliedValueFrom>,
}Expand description
ValueFrom describes a location in which to obtain the value to a parameter
Fields§
§config_map_key_ref: Option<IoK8sApiCoreV1ConfigMapKeySelector>ConfigMapKeyRef is configmap selector for input parameter configuration
default: Option<String>Default specifies a value to be used if retrieving the value from the specified source fails
event: Option<String>Selector (https://github.com/antonmedv/expr) that is evaluated against the event to get the value of the parameter. E.g. payload.message
expression: Option<String>Expression, if defined, is evaluated to specify the value for the parameter
jq_filter: Option<String>JQFilter expression against the resource object in resource templates
json_path: Option<String>JSONPath of a resource to retrieve an output parameter value from in resource templates
parameter: Option<String>Parameter reference to a step or dag task in which to retrieve an output parameter value from (e.g. ‘{{steps.mystep.outputs.myparam}}’)
path: Option<String>Path in the container to retrieve an output parameter value from in container templates
supplied: Option<IoArgoprojWorkflowV1alpha1SuppliedValueFrom>Supplied value to be filled in directly, either through the CLI, API, etc.
Trait Implementations§
Source§impl Clone for IoArgoprojWorkflowV1alpha1ValueFrom
impl Clone for IoArgoprojWorkflowV1alpha1ValueFrom
Source§fn clone(&self) -> IoArgoprojWorkflowV1alpha1ValueFrom
fn clone(&self) -> IoArgoprojWorkflowV1alpha1ValueFrom
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more