pr

package
v2.1.155 Latest Latest
Warning

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

Go to latest
Published: Dec 24, 2020 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const DefaultPrefix = "JX_PR_LABELS"

DefaultPrefix for all PR labels environment keys

Variables

This section is empty.

Functions

func NewCmdStepPR

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

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

func NewCmdStepPRComment

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

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

func NewCmdStepPRLabels

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

NewCmdStepPRLabels creates the new cmd

Types

type StepPRCommentFlags

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

type StepPRCommentOptions

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

func (o *StepPRCommentOptions) Run() error

Run implements this command

type StepPRLabelsOptions

type StepPRLabelsOptions struct {
	*opts.CommonOptions

	Dir         string
	Prefix      string
	PullRequest string
}

StepPRLabelsOptions holds the options for the cmd

func (*StepPRLabelsOptions) Run

func (o *StepPRLabelsOptions) Run() error

Run implements the execution

type StepPROptions

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

func (o *StepPROptions) Run() error

Run implements this command

Jump to

Keyboard shortcuts

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