kustomize

package
v1.8.7 Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2021 License: Apache-2.0 Imports: 15 Imported by: 29

Documentation

Index

Constants

This section is empty.

Variables

View Source
var KustomizationNames = []string{"kustomization.yaml", "kustomization.yml", "Kustomization"}

Functions

func IsKustomization added in v0.12.0

func IsKustomization(path string) bool

func Version added in v1.2.4

func Version(shortForm bool) (string, error)

Types

type Image added in v0.12.1

type Image = string

represents a Docker image in the format NAME[:TAG].

type Kustomize

type Kustomize interface {
	// Build returns a list of unstructured objects from a `kustomize build` command and extract supported parameters
	Build(opts *v1alpha1.ApplicationSourceKustomize, kustomizeOptions *v1alpha1.KustomizeOptions) ([]*unstructured.Unstructured, []Image, error)
}

Kustomize provides wrapper functionality around the `kustomize` command.

func NewKustomizeApp

func NewKustomizeApp(path string, creds git.Creds, fromRepo string, binaryPath string) Kustomize

NewKustomizeApp create a new wrapper to run commands on the `kustomize` command-line tool.

Jump to

Keyboard shortcuts

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