github

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GitHubOptions

type GitHubOptions struct {
	Username string

	DryRun bool

	prowflags.GitHubOptions
}

GitHubOptions represents options to interact with GitHub.

func (*GitHubOptions) AddPFlags

func (o *GitHubOptions) AddPFlags(pfs *pflag.FlagSet)

func (*GitHubOptions) ForkRepository

func (o *GitHubOptions) ForkRepository(githubClient prowgithub.Client, githubOrg, githubRepo, token string) (*git.Repository, *git.Worktree, string, error)

func (*GitHubOptions) GetGitClientFactory

func (o *GitHubOptions) GetGitClientFactory() (gitv2.ClientFactory, error)

func (*GitHubOptions) ValidateAll

func (o *GitHubOptions) ValidateAll() error

Jump to

Keyboard shortcuts

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