kustomize

package
v2.9.22 Latest Latest
Warning

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

Go to latest
Published: Aug 22, 2024 License: Apache-2.0 Imports: 19 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

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

Functions

func IsKustomization

func IsKustomization(path string) bool

func Version

func Version(shortForm bool) (string, error)

Types

type Image

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

Kustomize provides wrapper functionality around the `kustomize` command.

func NewKustomizeApp

func NewKustomizeApp(repoRoot string, 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