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

package pr

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

Index

Package Files

step_pr.go step_pr_comment.go step_pr_labels.go

Constants

const DefaultPrefix = "JX_PR_LABELS"

DefaultPrefix for all PR labels environment keys

func NewCmdStepPR Uses

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

NewCmdStepPR Steps a command object for the "step pr" command

func NewCmdStepPRComment Uses

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

NewCmdStepPRComment Steps a command object for the "step pr comment" command

func NewCmdStepPRLabels Uses

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

NewCmdStepPRLabels creates the new cmd

type StepPRCommentFlags Uses

type StepPRCommentFlags struct {
    Comment    string
    URL        string
    Owner      string
    Repository string
    PR         string
}

type StepPRCommentOptions Uses

type StepPRCommentOptions struct {
    StepPROptions
    Flags StepPRCommentFlags
}

GetOptions is the start of the data required to perform the operation. As new fields are added, add them here instead of referencing the cmd.Flags()

func (*StepPRCommentOptions) Run Uses

func (o *StepPRCommentOptions) Run() error

Run implements this command

type StepPRLabelsOptions Uses

type StepPRLabelsOptions struct {
    *opts.CommonOptions

    Dir         string
    Prefix      string
    PullRequest string
}

StepPRLabelsOptions holds the options for the cmd

func (*StepPRLabelsOptions) Run Uses

func (o *StepPRLabelsOptions) Run() error

Run implements the execution

type StepPROptions Uses

type StepPROptions struct {
    step.StepOptions
}

GetOptions is the start of the data required to perform the operation. As new fields are added, add them here instead of referencing the cmd.Flags()

func (*StepPROptions) Run Uses

func (o *StepPROptions) Run() error

Run implements this command

Package pr imports 13 packages (graph) and is imported by 2 packages. Updated 2019-09-15. Refresh now. Tools for package owners.