Documentation ¶
Index ¶
- func AddStepUpdateReleaseFlags(cmd *cobra.Command, o *StepUpdateReleaseOptions)
- func NewCmdStepUpdateRelease(commonOpts *opts.CommonOptions) *cobra.Command
- func NewCmdStepUpdateReleaseGitHub(commonOpts *opts.CommonOptions) *cobra.Command
- type StepUpdateReleaseGitHubOptions
- type StepUpdateReleaseOptions
- type StepUpdateReleaseStatusState
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 ¶
func (o *StepUpdateReleaseGitHubOptions) Run() error
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 ¶
func (o *StepUpdateReleaseOptions) Run() error
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
Click to show internal directories.
Click to hide internal directories.