Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewErrMissingKustomization ¶
func NewErrMissingKustomization(p string) *errMissingKustomization
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, validator ifc.Validator, rFactory *resmap.Factory, pLdr *loader.Loader) *KustTarget
NewKustTarget returns a new instance of KustTarget.
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) Kustomization ¶ added in v0.4.0
func (kt *KustTarget) Kustomization() types.Kustomization
Kustomization returns a copy of the immutable, internal kustomization object.
func (*KustTarget) Load ¶ added in v0.3.0
func (kt *KustTarget) Load() error
Load attempts to load the target's kustomization file.
func (*KustTarget) MakeCustomizedResMap ¶
func (kt *KustTarget) MakeCustomizedResMap() (resmap.ResMap, error)
MakeCustomizedResMap creates a fully customized ResMap per the instructions contained in its kustomization instance.
Click to show internal directories.
Click to hide internal directories.