Documentation ¶
Index ¶
- Constants
- func AddHelmRepositories(helmBin string, helmState state.HelmState, runner cmdrunner.CommandRunner, ...) error
- func FindClusterLocalRepositoryURLs(repos []state.RepositorySpec) ([]string, error)
- func IsInCluster() bool
- func IsWhitespaceOrComments(text string) bool
- func RunCommandAndLogOutput(commandRunner cmdrunner.CommandRunner, c *cmdrunner.Command, ...) error
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 IsWhitespaceOrComments ¶
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.
Click to show internal directories.
Click to hide internal directories.