Documentation ¶
Index ¶
- Variables
- func NewCmdStepGet(commonOpts *opts.CommonOptions) *cobra.Command
- func NewCmdStepGetBuildNumber(commonOpts *opts.CommonOptions) *cobra.Command
- func NewCmdStepGetDependencyVersion(commonOpts *opts.CommonOptions) *cobra.Command
- func NewCmdStepGetVersionChangeSet(commonOpts *opts.CommonOptions) *cobra.Command
- type StepGetBuildNumberOptions
- type StepGetDependencyVersionOptions
- type StepGetOptions
- type StepGetVersionChangeSetOptions
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 ¶
func (o *StepGetBuildNumberOptions) Run() error
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 ¶
func (o *StepGetDependencyVersionOptions) Run() error
Run implements this command
type StepGetOptions ¶
type StepGetOptions struct {
step.StepOptions
}
StepGetOptions contains the command line flags
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 ¶
func (o *StepGetVersionChangeSetOptions) Run() error
Run implements the command
Click to show internal directories.
Click to hide internal directories.