common

package
v0.0.90 Latest Latest
Warning

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

Go to latest
Published: Apr 7, 2020 License: Apache-2.0 Imports: 6 Imported by: 1

Documentation

Index

Constants

View Source
const (
	// DefaultBootHelmfileRepository default git repo for boot with helmfile
	DefaultBootHelmfileRepository = "https://github.com/jenkins-x/jenkins-x-boot-helmfile-config.git"

	// DefaultVersionsRef default version stream ref
	DefaultVersionsRef = "master"

	// DefaultVersionsURL default version stream url
	DefaultVersionsURL = "https://github.com/jenkins-x/jenkins-x-versions.git"

	// HelmfileBuildPackName the build pack name for helm 3 / helmfile style environments
	HelmfileBuildPackName = "environment-helmfile"

	// PipelineActivitiesYAMLFile the name of the YAML file to help migrate PipelineActivity resources to a new cluster
	PipelineActivitiesYAMLFile = "pipelineActivities.yaml"
)

Variables

View Source
var BinaryName string

BinaryName the binary name to use in help docs

View Source
var TopLevelCommand string

TopLevelCommand the top level command name

Functions

func GetIOFileHandles

func GetIOFileHandles(h *util.IOFileHandles) util.IOFileHandles

GetIOFileHandles lazily creates a file handles object if the input is nil

func SetLoggingLevel

func SetLoggingLevel(cmd *cobra.Command, args []string)

func SplitCommand

func SplitCommand(cmd *cobra.Command, options interface{}) *cobra.Command

SplitCommand helper command to ignore the options object

Types

This section is empty.

Jump to

Keyboard shortcuts

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