fmt

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jan 9, 2021 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RemoveDefaultEnvVars

func RemoveDefaultEnvVars(from []corev1.EnvVar) []corev1.EnvVar

RemoveDefaultEnvVars removes default params

func RemoveDefaultParamSpecs

func RemoveDefaultParamSpecs(from []v1alpha1.ParamSpec) []v1alpha1.ParamSpec

RemoveDefaultParamSpecs removes default parameters

func RemoveDefaultParams

func RemoveDefaultParams(from []v1alpha1.Param) []v1alpha1.Param

RemoveDefaultParams removes default params

Types

type Options

type Options struct {
	options.BaseOptions

	Dir                    string
	Namespace              string
	GitCloneURL            string
	GitClonePullRequestURL string
	CatalogSHA             string
	GitClient              gitclient.Interface
	CommandRunner          cmdrunner.CommandRunner
	Jobs                   map[string]gojenkins.Job
}

StopPipelineOptions contains the command line options

func NewCmdPipelineFormat

func NewCmdPipelineFormat() (*cobra.Command, *Options)

NewCmdPipelineFormat creates the command

func (*Options) Run

func (o *Options) Run() error

Run implements this command

func (*Options) Validate

func (o *Options) Validate() error

Validate validate options

Jump to

Keyboard shortcuts

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