kustomize

package
v0.20.5 Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2020 License: Apache-2.0 Imports: 22 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(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