Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Spec ¶
type Spec interface {
Target(source string, dryRun bool) (bool, error)
TargetFromSCM(source string, scm scm.Scm, dryRun bool) (changed bool, files []string, message string, err error)
}
Spec is an interface which offers common function to manipulate targets.
type Target ¶
type Target struct {
DependsOn []string `yaml:"depends_on"`
Name string
PipelineID string `yaml:"pipelineID"` // PipelineID references a uniq pipeline run that allows to groups targets
Kind string
Changelog string
Prefix string // Deprecated in favor of Transformers on 2021/01/3
Postfix string // Deprecated in favor of Transformers on 2021/01/3
Transformers transformer.Transformers
Spec interface{}
Scm map[string]interface{}
SourceID string `yaml:"sourceID"`
}
Target defines which file needs to be updated based on source output
Click to show internal directories.
Click to hide internal directories.