Documentation ¶
Overview ¶
Package app implements state for the set of all resources being customized. Should rename this - there's nothing "app"y about it.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Application ¶
type Application struct {
// contains filtered or unexported fields
}
Application implements the guts of the kustomize 'build' command. TODO: Change name, as "application" is overloaded and somewhat misleading (one can customize an RBAC policy). Perhaps "Target" https://github.com/kubernetes-sigs/kustomize/blob/master/docs/glossary.md#target
func NewApplication ¶ added in v1.0.2
func NewApplication(ldr loader.Loader, fSys fs.FileSystem) (*Application, error)
NewApplication returns a new instance of Application primed with a Loader.
func (*Application) MakeCustomizedResMap ¶ added in v1.0.2
func (a *Application) MakeCustomizedResMap() (resmap.ResMap, error)
MakeCustomizedResMap creates a ResMap per kustomization instructions. The Resources in the returned ResMap are fully customized.
func (*Application) MakeUncustomizedResMap ¶ added in v1.0.2
func (a *Application) MakeUncustomizedResMap() (resmap.ResMap, error)
MakeUncustomizedResMap purports to create a ResMap without customization. The Resources in the returned ResMap include all resources mentioned in the kustomization file and transitively reachable via its Bases, and all generated secrets and configMaps. Meant for use in generating a diff against customized resources. TODO: See https://github.com/kubernetes-sigs/kustomize/issues/85