helmhelpers

package
v0.1.6 Latest Latest
Warning

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

Go to latest
Published: Feb 16, 2021 License: Apache-2.0 Imports: 9 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 AddHelmRepositories

func AddHelmRepositories(helmBin string, helmState state.HelmState, runner cmdrunner.CommandRunner, ignoreRepositories []string) error

AddHelmRepositories ensures the repositories in the helmfile are added to helm so that we can use helm templating etc

func FindClusterLocalRepositoryURLs

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

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

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