jx: github.com/jenkins-x/jx/pkg/cmd/step/update/release Index | Files

package release

import "github.com/jenkins-x/jx/pkg/cmd/step/update/release"


Package Files

step_update_release.go step_update_release_github.go

func AddStepUpdateReleaseFlags Uses

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 Uses

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

NewCmdStepUpdateRelease Steps a command object for the "step" command

func NewCmdStepUpdateReleaseGitHub Uses

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

NewCmdStepUpdateReleaseGitHub Creates a new Command object

type StepUpdateReleaseGitHubOptions Uses

type StepUpdateReleaseGitHubOptions struct {
    PreRelease bool

    State StepUpdateReleaseStatusState

StepUpdateReleaseGitHubOptions contains the command line flags

func (*StepUpdateReleaseGitHubOptions) Run Uses

func (o *StepUpdateReleaseGitHubOptions) Run() error

Run implements this command

func (*StepUpdateReleaseGitHubOptions) ValidateGitHubOptions Uses

func (o *StepUpdateReleaseGitHubOptions) ValidateGitHubOptions() error

ValidateGitHubOptions validates the common options for brew pr steps

type StepUpdateReleaseOptions Uses

type StepUpdateReleaseOptions struct {
    Owner      string
    Repository string
    Version    string

StepUpdateReleaseOptions are the common options for all update steps

func (*StepUpdateReleaseOptions) Run Uses

func (o *StepUpdateReleaseOptions) Run() error

Run implements this command

func (*StepUpdateReleaseOptions) ValidateOptions Uses

func (o *StepUpdateReleaseOptions) ValidateOptions() error

ValidateOptions validates the common options for all PR creation steps

type StepUpdateReleaseStatusState Uses

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

StepUpdateReleaseStatusState contains the state information

Package release imports 11 packages (graph) and is imported by 1 packages. Updated 2020-01-31. Refresh now. Tools for package owners.