pub struct IoArgoprojEventsV1alpha1TriggerParameterSource {
pub context_key: Option<String>,
pub context_template: Option<String>,
pub data_key: Option<String>,
pub data_template: Option<String>,
pub dependency_name: Option<String>,
pub value: Option<String>,
}Fields§
§context_key: Option<String>ContextKey is the JSONPath of the event’s (JSON decoded) context key ContextKey is a series of keys separated by a dot. A key may contain wildcard characters ‘*’ and ‘?’. To access an array value use the index as the key. The dot and wildcard characters can be escaped with ‘\’. See https://github.com/tidwall/gjson#path-syntax for more information on how to use this.
context_template: Option<String>§data_key: Option<String>DataKey is the JSONPath of the event’s (JSON decoded) data key DataKey is a series of keys separated by a dot. A key may contain wildcard characters ‘*’ and ‘?’. To access an array value use the index as the key. The dot and wildcard characters can be escaped with ‘\’. See https://github.com/tidwall/gjson#path-syntax for more information on how to use this.
data_template: Option<String>§dependency_name: Option<String>DependencyName refers to the name of the dependency. The event which is stored for this dependency is used as payload for the parameterization. Make sure to refer to one of the dependencies you have defined under Dependencies list.
value: Option<String>Value is the default literal value to use for this parameter source This is only used if the DataKey is invalid. If the DataKey is invalid and this is not defined, this param source will produce an error.
Trait Implementations§
Source§impl Clone for IoArgoprojEventsV1alpha1TriggerParameterSource
impl Clone for IoArgoprojEventsV1alpha1TriggerParameterSource
Source§fn clone(&self) -> IoArgoprojEventsV1alpha1TriggerParameterSource
fn clone(&self) -> IoArgoprojEventsV1alpha1TriggerParameterSource
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more