Back to godoc.org
k8s.io/kubernetes/cmd/kubeadm/app/util/kustomize

package kustomize

v1.18.3
Latest Go to latest
Published: May 20, 2020 | License: Apache-2.0 | Module: k8s.io/kubernetes

Overview

Package kustomize contains helpers for working with embedded kustomize commands

Package kustomize contains helpers for working with embedded kustomize commands

Index

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

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
f or F : Jump to identifier