kustomize

package
v1.98.3 Latest Latest
Warning

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

Go to latest
Published: May 4, 2023 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetRenderedApp added in v1.96.0

func GetRenderedApp(versionArchive string, downstreamName, kustomizeBinPath string) ([]byte, map[string][]byte, error)

func GetRenderedChartsArchive added in v1.96.0

func GetRenderedChartsArchive(versionArchive string, downstreamName, kustomizeBinPath string) ([]byte, map[string][]byte, error)

func RenderChartsArchive

func RenderChartsArchive(baseDir string, overlaysDir string, downstreamName string, kustomizeBinPath string) ([]byte, map[string][]byte, error)

func WriteRenderedApp added in v1.96.0

func WriteRenderedApp(options WriteOptions) error

Types

type Diff

type Diff struct {
	FilesChanged int `json:"filesChanged"`
	LinesAdded   int `json:"linesAdded"`
	LinesRemoved int `json:"linesRemoved"`
}

func DiffAppVersionsForDownstream

func DiffAppVersionsForDownstream(downstreamName string, archive string, diffBasePath string, kustomizeBinPath string) (*Diff, error)

DiffAppVersionsForDownstream will generate a diff of the rendered yaml between two different archive dirs

type WriteOptions added in v1.96.0

type WriteOptions struct {
	BaseDir          string
	OverlaysDir      string
	RenderedDir      string
	Downstreams      []string
	KustomizeBinPath string
}

Jump to

Keyboard shortcuts

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