Documentation ¶
Index ¶
- func AddKustomize(fs afero.Fs, name string, items []string, path string) error
- func MarshalItemToFile(fs afero.Fs, filename string, item interface{}) error
- func MarshalOutput(out io.Writer, output interface{}) error
- func WriteResources(fs afero.Fs, path string, files map[string]interface{}) ([]string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddKustomize ¶
AddKustomize adds kustomization.yaml. Name and items become map key and value, respectively
func MarshalItemToFile ¶
MarshalItemToFile marshals item to file
func MarshalOutput ¶
MarshalOutput marshal output to given writer
func WriteResources ¶
WriteResources takes a prefix path, and a map of paths to values, and will marshal the values to the filenames as YAML resources, joining the prefix to the filenames before writing.
It returns the list of filenames written out.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.