kustomizationfile

package
v0.0.0-...-2431c15 Latest Latest
Warning

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

Go to latest
Published: May 29, 2019 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var KustomizationFileNames = []string{
	"kustomization.yaml",
	"kustomization.yml",
	"Kustomization",
}

KustomizationFileNames represents a list of allowed filenames that kustomize searches for

Functions

func New

func New() *kustomizationFileContext

New returns a new context to interact with kustomization files

func NewFromFileSystem

func NewFromFileSystem(fileSystem afero.Fs) *kustomizationFileContext

NewFromFileSystem creates a context to interact with kustomization files from a provided file system

Types

type KustomizationFile

type KustomizationFile struct {
	Bases                 []string `yaml:"bases"`
	Resources             []string `yaml:"resources"`
	Patches               []string `yaml:"patches"`
	PatchesStrategicMerge []string `yaml:"patchesStrategicMerge"`
}

KustomizationFile represents a kustomization yaml file

Jump to

Keyboard shortcuts

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