helmhelpers

package
v0.2.92 Latest Latest
Warning

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

Go to latest
Published: May 26, 2021 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// JX3HelmRepository the default "jx3" helm repository
	JX3HelmRepository = "https://storage.googleapis.com/jenkinsxio/charts"
)

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 []string, 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