release

package
v2.1.66 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddStepUpdateReleaseFlags

func AddStepUpdateReleaseFlags(cmd *cobra.Command, o *StepUpdateReleaseOptions)

AddStepUpdateReleaseFlags adds the common flags for all update release steps to the cmd and stores them in o

func NewCmdStepUpdateRelease

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

NewCmdStepUpdateRelease Steps a command object for the "step" command

func NewCmdStepUpdateReleaseGitHub

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

NewCmdStepUpdateReleaseGitHub Creates a new Command object

Types

type StepUpdateReleaseGitHubOptions

type StepUpdateReleaseGitHubOptions struct {
	StepUpdateReleaseOptions
	PreRelease bool

	State StepUpdateReleaseStatusState
}

StepUpdateReleaseGitHubOptions contains the command line flags

func (*StepUpdateReleaseGitHubOptions) Run

Run implements this command

func (*StepUpdateReleaseGitHubOptions) ValidateGitHubOptions

func (o *StepUpdateReleaseGitHubOptions) ValidateGitHubOptions() error

ValidateGitHubOptions validates the common options for brew pr steps

type StepUpdateReleaseOptions

type StepUpdateReleaseOptions struct {
	step.StepUpdateOptions
	Owner      string
	Repository string
	Version    string
}

StepUpdateReleaseOptions are the common options for all update steps

func (*StepUpdateReleaseOptions) Run

Run implements this command

func (*StepUpdateReleaseOptions) ValidateOptions

func (o *StepUpdateReleaseOptions) ValidateOptions() error

ValidateOptions validates the common options for all PR creation steps

type StepUpdateReleaseStatusState

type StepUpdateReleaseStatusState struct {
	GitInfo     *gits.GitRepository
	GitProvider gits.GitProvider
	Release     *v1.Release
}

StepUpdateReleaseStatusState contains the state information

Jump to

Keyboard shortcuts

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