Documentation
¶
Index ¶
- type Yaml
- func (y *Yaml) Condition(source string) (bool, error)
- func (y *Yaml) ConditionFromSCM(source string, scm scm.Scm) (bool, error)
- func (y *Yaml) Source(workingDir string) (string, error)
- func (y *Yaml) Target(source string, dryRun bool) (changed bool, err error)
- func (y *Yaml) TargetFromSCM(source string, scm scm.Scm, dryRun bool) (changed bool, files []string, message string, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Yaml ¶
Yaml stores configuration about the file and the key value which needs to be updated.
func (*Yaml) ConditionFromSCM ¶
ConditionFromSCM checks if a key exists in a yaml file
Click to show internal directories.
Click to hide internal directories.