Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
resource.ResourceConfig `yaml:",inline"`
PipelineID string `yaml:"pipelineID"` // PipelineID references a unique pipeline run allowing to group targets
ReportTitle string // ReportTitle contains the updatecli reports title for sources and conditions run
ReportBody string // ReportBody contains the updatecli reports body for sources and conditions run
SourceID string `yaml:"sourceID"`
}
Config defines target parameters
type Target ¶
type Target struct {
Result string // Result store the condition result after a target run. This variable can't be set by an updatecli configuration
Config Config
Commit bool
Push bool
Clean bool
DryRun bool
Scm *scm.ScmHandler
}
Target defines which file needs to be updated based on source output
Click to show internal directories.
Click to hide internal directories.