Help us shape the future of Go! Take the 2026 Go Developer Survey

kustomizationfile

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: May 31, 2024 License: Apache-2.0 Imports: 7 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"`
	Components            []string `yaml:"components"`
	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