Documentation ¶
Index ¶
- Constants
- func FindClusterLocalRepositoryURLs(repos []state.RepositorySpec) ([]string, error)
- func IsChartNameRelative(chartName string) bool
- func IsChartRemote(chartName string) bool
- 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://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
IsChartNameRelative returns true if the chart name is a relative folder
func IsChartRemote ¶ added in v0.2.77
IsChartRemote returns true if the chart name is a remote chart such as "git::https://foo.com/cheese"
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, 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.