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) Read() error
- func (y *Yaml) Source(workingDir string) (string, error)
- func (y *Yaml) Target(source string, dryRun bool) (bool, error)
- func (y *Yaml) TargetFromSCM(source string, scm scm.Scm, dryRun bool) (bool, []string, string, error)
- type YamlSpec
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Yaml ¶
Yaml defines a resource of type "yaml"
func New ¶ added in v0.14.1
New returns a reference to a newly initialized Yaml object from a YamlSpec or an error if the provided YamlSpec triggers a validation error.
func (*Yaml) ConditionFromSCM ¶
ConditionFromSCM checks if a key exists in a yaml file
func (*Yaml) Read ¶ added in v0.14.1
Read defines CurrentContent to the content of the file which path is specified in Spec.File
Click to show internal directories.
Click to hide internal directories.