kustomize

package
v0.32.20 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2020 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FieldSpec

type FieldSpec struct {
	Kind   string `yaml:"kind,omitempty"`
	Path   string `yaml:"path"`
	Create bool   `yaml:"create"`
}

type File

type File struct {
	Namespace    string   `yaml:"namespace"`
	Transformers []string `yaml:"transformers,omitempty"`
	Resources    []string `yaml:"resources"`
}

type Kustomize

type Kustomize struct {
	// contains filtered or unexported fields
}

func New

func New(path string) (*Kustomize, error)

func (*Kustomize) Apply added in v0.21.1

func (k *Kustomize) Apply(force bool) *Kustomize

func (*Kustomize) Build

func (k *Kustomize) Build() exec.Cmd

func (*Kustomize) Delete added in v0.21.1

func (k *Kustomize) Delete() *Kustomize

type LabelTransformer

type LabelTransformer struct {
	ApiVersion string            `yaml:"apiVersion"`
	Kind       string            `yaml:"kind"`
	Metadata   *Metadata         `yaml:"metadata"`
	Labels     map[string]string `yaml:"labels"`
	FieldSpecs []*FieldSpec      `yaml:"fieldSpecs"`
}

type Metadata

type Metadata struct {
	Name string `yaml:"name"`
}

Jump to

Keyboard shortcuts

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