kustomize

package
v1.19.16 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2021 License: Apache-2.0 Imports: 21 Imported by: 0

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

This section is empty.

Functions

This section is empty.

Types

type Manager

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

Manager define a manager that allow access to kustomize capabilities

func GetManager

func GetManager(kustomizeDir string) (*Manager, error)

GetManager return the KustomizeManager singleton instance NB. this is done at singleton instance level because kubeadm has a unique pool of patches that are applied to different content, at different time

func (*Manager) Kustomize

func (km *Manager) Kustomize(data []byte) ([]byte, 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