target

package
v3.3.1 Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2019 License: Apache-2.0 Imports: 17 Imported by: 6

Documentation

Overview

Package target implements state for the set of all resources to customize.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type KustTarget

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

KustTarget encapsulates the entirety of a kustomization build.

func NewKustTarget

func NewKustTarget(
	ldr ifc.Loader,
	rFactory *resmap.Factory,
	tFactory resmap.PatchFactory,
	pLdr *plugins.Loader) (*KustTarget, error)

NewKustTarget returns a new instance of KustTarget primed with a Loader.

func (*KustTarget) AccumulateTarget

func (kt *KustTarget) AccumulateTarget() (
	ra *accumulator.ResAccumulator, err error)

AccumulateTarget returns a new ResAccumulator, holding customized resources and the data/rules used to do so. The name back references and vars are not yet fixed.

func (*KustTarget) MakeCustomizedResMap

func (kt *KustTarget) MakeCustomizedResMap() (resmap.ResMap, error)

MakeCustomizedResMap creates a ResMap per kustomization instructions. The Resources in the returned ResMap are fully customized.

func (*KustTarget) MakePruneConfigMap

func (kt *KustTarget) MakePruneConfigMap() (resmap.ResMap, error)

Jump to

Keyboard shortcuts

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