kustomize

package
v0.12.3 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2019 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

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

Functions

func GetCommandName added in v0.12.0

func GetCommandName(version int) string

func IsKustomization added in v0.12.0

func IsKustomization(path string) bool

Types

type GitCredentials added in v0.12.0

type GitCredentials struct {
	Username string
	Password string
}

type Image added in v0.12.1

type Image = string

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

type ImageTag added in v0.12.1

type ImageTag struct {
	Name  string
	Value string
}

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) ([]*unstructured.Unstructured, []ImageTag, []Image, error)
}

Kustomize provides wrapper functionality around the `kustomize` command.

func NewKustomizeApp

func NewKustomizeApp(path string, creds *GitCredentials) 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