Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Condition ¶
type Condition struct { // Result stores the condition result after a condition run. Result string // Config defines condition input parameters Config Config Scm *scm.ScmHandler }
Condition defines which condition needs to be met in order to update targets based on the source output
type Config ¶
type Config struct { resource.ResourceConfig `yaml:",inline"` // ! Deprecated in favor of sourceID // sourceid specifies which "source", based on its ID, is used to retrieve the default value. DeprecatedSourceID string `yaml:"sourceID"` // sourceid specifies which "source", based on its ID, is used to retrieve the default value. SourceID string // disablesourceinput disable the mechanism to retrieve a default value from a source. DisableSourceInput bool }
Config defines conditions input parameters
func (Config) JSONSchema ¶ added in v0.23.0
JSONSchema implements the json schema interface to generate the "condition" jsonschema.
Click to show internal directories.
Click to hide internal directories.