Documentation ¶
Overview ¶
Package applysetters is an adaptation for Skaffold's applysetters package to apply kpt-style param transformations for a yaml config file with the parameters provided as key value pairs.
Index ¶
Constants ¶
View Source
const SetterCommentIdentifier = "# from-param: "
Variables ¶
This section is empty.
Functions ¶
func ApplyParams ¶
ApplyParams sets the value of a kpt-style param in the input file with the values from the 'params' map.
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
Click to show internal directories.
Click to hide internal directories.