kubernetesk8s.io/kubernetes/cmd/kubeadm/app/util/kustomize Index | Files

package kustomize

import "k8s.io/kubernetes/cmd/kubeadm/app/util/kustomize"

Package kustomize contains helpers for working with embedded kustomize commands

Package kustomize contains helpers for working with embedded kustomize commands

Index

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

Source Files

json6902.go kustomize.go strategicmerge.go

Version
v1.16.6
Published
Jan 17, 2020
Platform
linux/amd64
Imports
21 packages
Last checked
2 minutes ago

Tools for package owners.