cmd

package
v0.16.0 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2020 License: Apache-2.0 Imports: 29 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ConfigurationFilePath      string
	ParametersFilePath         string
	Provider                   string
	DNS                        string
	ArtifactRepositoryProvider string
	Dev                        bool
	EnableEFKLogging           bool
	EnableHTTPS                bool
	EnableCertManager          bool
	EnableMetalLb              bool
	GPUDevicePlugins           []string
	Services                   []string
)
View Source
var (
	// ServiceAccountName is the "username" we show to the user. We look up this value in k8s
	ServiceAccountName string
)

Functions

func BuilderToTemplate

func BuilderToTemplate(builder *manifest.Builder) template.Kustomize

func Execute

func Execute()

Execute adds all child commands to the root command and sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd.

func FilePathWalkDir

func FilePathWalkDir(root string) ([]string, error)

func GenerateKustomizeResult

func GenerateKustomizeResult(config opConfig.Config, kustomizeTemplate template.Kustomize) (string, error)

Given the path to the manifests, and a kustomize config, creates the final kustomization file. It does this by copying the manifests into a temporary directory, inserting the kustomize template and running the kustomize command

func HumanizeKustomizeError added in v0.16.0

func HumanizeKustomizeError(err error) string

HumanizeKustomizeError takes errors returned from GenerateKustomizeResult and returns them in a human friendly string

func TemplateFromSimpleOverlayedComponents

func TemplateFromSimpleOverlayedComponents(comps []*opConfig.SimpleOverlayedComponent) template.Kustomize

Types

type ProviderProperties

type ProviderProperties struct {
	IsCloud bool
}

Jump to

Keyboard shortcuts

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