get

package
v2.1.68 Latest Latest
Warning

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

Go to latest
Published: Jun 16, 2020 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// StepGetVersionChangeSetLong command long description
	StepGetVersionChangeSetLong = templates.LongDesc(`
		This pipeline step generates environment variables from the differences of versions between jenkins-x-version branches

`)
	// StepGetVersionChangeSetExample command example
	StepGetVersionChangeSetExample = templates.Examples(`
		# This pipeline step generates environment variables from the differences of versions between jenkins-x-version PR21 and the master branch
		jx step get version-changeset --pr 21

        # This pipeline step generates environment variables from the differences of versions between jenkins-x-version PR21 and a branch called stuff
        jx step get version-changeset --stable-branch stuff --pr 21
`)
)

Functions

func NewCmdStepGet

func NewCmdStepGet(commonOpts *opts.CommonOptions) *cobra.Command

NewCmdStepGet Steps a command object for the "step" command

func NewCmdStepGetBuildNumber

func NewCmdStepGetBuildNumber(commonOpts *opts.CommonOptions) *cobra.Command

NewCmdStepGetBuildNumber Creates a new Command object

func NewCmdStepGetDependencyVersion

func NewCmdStepGetDependencyVersion(commonOpts *opts.CommonOptions) *cobra.Command

NewCmdStepGetDependencyVersion Creates a new Command object

func NewCmdStepGetVersionChangeSet

func NewCmdStepGetVersionChangeSet(commonOpts *opts.CommonOptions) *cobra.Command

NewCmdStepGetVersionChangeSet create the 'step git envs' command

Types

type StepGetBuildNumberOptions

type StepGetBuildNumberOptions struct {
	step.StepOptions

	Dir string
}

StepGetBuildNumberOptions contains the command line flags

func (*StepGetBuildNumberOptions) Run

Run implements this command

type StepGetDependencyVersionOptions

type StepGetDependencyVersionOptions struct {
	step.StepOptions

	Host        string
	Owner       string
	Repo        string
	Dir         string
	ShortOutput bool
}

StepGetDependencyVersionOptions contains the command line flags

func (*StepGetDependencyVersionOptions) Run

Run implements this command

type StepGetOptions

type StepGetOptions struct {
	step.StepOptions
}

StepGetOptions contains the command line flags

func (*StepGetOptions) Run

func (o *StepGetOptions) Run() error

Run implements this command

type StepGetVersionChangeSetOptions

type StepGetVersionChangeSetOptions struct {
	step.StepOptions
	VersionsDir        string
	VersionsRepository string
	VersionsGitRef     string
	TestingBranch      string
	StableBranch       string
	PR                 string
}

StepGetVersionChangeSetOptions contains the command line flags

func (*StepGetVersionChangeSetOptions) Run

Run implements the command

Jump to

Keyboard shortcuts

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