push

package
v0.0.176 Latest Latest
Warning

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

Go to latest
Published: Aug 13, 2020 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsInCluster added in v0.0.115

func IsInCluster() bool

IsInCluster tells if we are running incluster

Types

type Options

type Options struct {
	Dir               string
	Branch            string
	Repository        string
	SourceURL         string
	GitServerURL      string
	GitKind           string
	GitToken          string
	UserName          string
	UserEmail         string
	Number            int
	BatchMode         bool
	UseGitHubOAuth    bool
	CommandRunner     cmdrunner.CommandRunner
	ScmClient         *scm.Client
	AuthConfigService auth.ConfigService
	IOFileHandles     *util.IOFileHandles
	// contains filtered or unexported fields
}

KptOptions the options for the command

func NewCmdPullRequestPush

func NewCmdPullRequestPush() (*cobra.Command, *Options)

NewCmdPullRequestPush creates a command object for the command

func (*Options) Git added in v0.0.113

func (o *Options) Git() gits.Gitter

func (*Options) GitClient added in v0.0.131

func (o *Options) GitClient() gitclient.Interface

func (*Options) InitGitConfigAndUser added in v0.0.115

func (o *Options) InitGitConfigAndUser() error

func (*Options) Run

func (o *Options) Run() error

Run implements the command

Jump to

Keyboard shortcuts

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