app

package
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2018 License: Apache-2.0 Imports: 14 Imported by: 0

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(loader loader.Loader) (*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

Jump to

Keyboard shortcuts

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