Documentation ¶
Index ¶
Constants ¶
View Source
const SetterCommentIdentifier = "# from-param: "
Variables ¶
This section is empty.
Functions ¶
func Decode ¶
func Decode(rn *yaml.RNode, fcd *ApplySetters)
Decode decodes the input yaml node into Set struct
Types ¶
type ApplySetters ¶
type ApplySetters struct { // Setters holds the user provided values for all the setters Setters []Setter // Results are the results of applying setter values Results []*Result // contains filtered or unexported fields }
ApplySetters applies the setter values to the resource fields which are tagged by the setter reference comments
func (*ApplySetters) Apply ¶
func (as *ApplySetters) Apply(ctx context.Context, ml manifest.ManifestList) (manifest.ManifestList, error)
Apply Transform manifestList with Filter
func (*ApplySetters) ApplyPath ¶
func (as *ApplySetters) ApplyPath(path string) error
ApplyPath Transform a yaml file with Filter
Click to show internal directories.
Click to hide internal directories.