Help us shape the future of Go! Take the 2026 Go Developer Survey

helm

package
v0.53.0 Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2019 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Overview

package helm contains helm-related utility code

Index

Constants

View Source
const (
	DryRun   = true
	NoDryRun = false
	Debug    = true
	NoDebug  = false
)

Variables

This section is empty.

Functions

func DeployCommands

func DeployCommands(env *model.Environment, dryRun, debug bool, limitToReleases []string) ([][]string, error)

func GenerateHelmApplyArgv

func GenerateHelmApplyArgv(rel *model.Release, env *model.Environment, dryRun, debug bool) ([]string, error)

func GenerateHelmBaseArgv

func GenerateHelmBaseArgv(env *model.Environment) []string

func GenerateHelmChartArgs

func GenerateHelmChartArgs(rel *model.Release) ([]string, error)

func GenerateHelmDiffArgv

func GenerateHelmDiffArgv(rel *model.Release, env *model.Environment) ([]string, error)

func GenerateHelmValuesArgv

func GenerateHelmValuesArgv(rel *model.Release, env *model.Environment) ([]string, error)

func GenerateTemplateCommands

func GenerateTemplateCommands(rel *model.Release, env *model.Environment) ([][]string, error)

func GetImageRefFromImageTrigger

func GetImageRefFromImageTrigger(trigger *model.ImageTrigger, values map[string]interface{}) *image.DockerImageRef

func GetImageRefsFromRelease

func GetImageRefsFromRelease(release *model.Release, values map[string]interface{}) []*image.DockerImageRef

func GetResolvedValues

func GetResolvedValues(release *model.Release) (map[string]interface{}, error)

func InspectChart

func InspectChart(chartReference, chartVersion string) ([]byte, error)

InspectChart :

func KeyIsInValues

func KeyIsInValues(key string, values map[string]interface{}) bool

func KubectlApplyCommand

func KubectlApplyCommand(resourceFiles []string, dryRun bool, envName string) []string

func LoadValuesFile

func LoadValuesFile(fileName string) (map[string]interface{}, error)

func LookupValueByPath

func LookupValueByPath(key []string, values map[string]interface{}) *string

func LookupValueByString

func LookupValueByString(key string, values map[string]interface{}) interface{}

func MergeValues

func MergeValues(from map[string]interface{}, onto map[string]interface{}) map[string]interface{}

func RepoSetupCommands

func RepoSetupCommands(repos []model.HelmRepo) [][]string

RepoSetupCommands :

func ResolveGceAddressValue

func ResolveGceAddressValue(address *model.GceAddressValueRef, env *model.Environment) (string, error)

func ResolveValue

func ResolveValue(value model.ChartValue, env *model.Environment) (*model.ChartValue, error)

func TemplateCommands

func TemplateCommands(env *model.Environment, limitToReleases []string) ([][]string, error)

func UseContextCommand

func UseContextCommand(envName string) []string

func ValuesListToMap

func ValuesListToMap(values []model.ChartValue, env *model.Environment) (map[string]interface{}, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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