kustomizationfile

package
v0.2.4 Latest Latest
Warning

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

Go to latest
Published: Dec 30, 2023 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