helmhelpers

package
v0.7.17 Latest Latest
Warning

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

Go to latest
Published: Jun 27, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// JX3HelmRepository the default "jx3" helm repository
	JX3HelmRepository = "https://jenkins-x-charts.github.io/repo"

	// VersionLabel the label on helmfile releases to avoid overriding the version
	VersionLabel = "version.jenkins-x.io"

	// ValuesLabel the label on helmfile releases to avoid overriding the values YAML
	ValuesLabel = "values.jenkins-x.io"

	// LockLabelValue the value of the VersionLabel or ValuesLabel to lock the values and not apply version stream values
	LockLabelValue = "lock"
)

Variables

This section is empty.

Functions

func FindClusterLocalRepositoryURLs

func FindClusterLocalRepositoryURLs(repos []state.RepositorySpec) ([]string, error)

FindClusterLocalRepositoryURLs finds any cluster local repositories such as http://bucketrepo/bucketrepo/charts/

func IsChartNameRelative added in v0.2.77

func IsChartNameRelative(chartName string) bool

IsChartNameRelative returns true if the chart name is a relative folder

func IsChartRemote added in v0.2.77

func IsChartRemote(chartName string) bool

IsChartRemote returns true if the chart name is a remote chart such as "git::https://foo.com/cheese"

func IsInCluster

func IsInCluster() bool

IsInCluster tells if we are running incluster

func IsWhitespaceOrComments

func IsWhitespaceOrComments(text string) bool

IsWhitespaceOrComments returns true if the text is empty, whitespace or comments only

func RunCommandAndLogOutput

func RunCommandAndLogOutput(commandRunner cmdrunner.CommandRunner, c *cmdrunner.Command, debugPrefixes, infoPrefixes []string) error

RunCommandAndLogOutput runs the command and outputs info or debug level logging

Types

This section is empty.

Jump to

Keyboard shortcuts

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