resources

package
v0.0.28 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 29, 2021 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Kustomization

type Kustomization struct {
	Resources    []string          `json:"resources,omitempty"`
	Bases        []string          `json:"bases,omitempty"`
	CommonLabels map[string]string `json:"commonLabels,omitempty"`
}

Kustomization is a structural representation of the Kustomize file format.

func (*Kustomization) AddResources added in v0.0.23

func (k *Kustomization) AddResources(s ...string)

type Resources

type Resources map[string]interface{}

Resources represents a set of filename -> Go struct with the filenames as keys, and the values are values to be serialized to YAML.

func Merge

func Merge(from, to Resources) Resources

Merge merges a set of resources in from to the set of resources in to, replacing existing keys and returns a new set of resources.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL