kustomize

package
v0.31.7 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2024 License: Apache-2.0 Imports: 20 Imported by: 2 modules, 1 package

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package kustomize contains helpers for working with embedded kustomize commands

Package kustomize contains helpers for working with embedded kustomize commands

Index

Constants

This section is empty.

Variables

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

Functions

func BytesToUtf8Lf added in v0.22.0

func BytesToUtf8Lf(file []byte) (string, error)

func GetUnstructuredObjects

func GetUnstructuredObjects(data []byte) ([]runtime.Object, error)

Types

type Manager

type Manager struct {
	filesys.FileSystem
	// contains filtered or unexported fields
}

Manager define a manager that allow access to kustomize capabilities

func (*Manager) AddPatch added in v0.31.0

func (km *Manager) AddPatch(name string, data []byte) error

func (*Manager) Kustomize

func (km *Manager) Kustomize(namespace string, objects ...runtime.Object) ([]runtime.Object, error)

Kustomize apply a set of patches to a resource. Portions of the kustomize logic in this function are taken from the kubernetes-sigs/kind project

func (*Manager) KustomizeRaw

func (km *Manager) KustomizeRaw(namespace string, data []byte) ([]runtime.Object, error)

Kustomize apply a set of patches to a resource. Portions of the kustomize logic in this function are taken from the kubernetes-sigs/kind project

Jump to

Keyboard shortcuts

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