kustomize

package
v1.3.2 Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2019 License: Apache-2.0 Imports: 16 Imported by: 0

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.3.0

func Version() (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) 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