Documentation
¶
Index ¶
- type GitHubOptions
- func (o *GitHubOptions) AddPFlags(pfs *pflag.FlagSet)
- func (o *GitHubOptions) ForkRepository(githubClient prowgithub.Client, githubOrg, githubRepo, token string) (*git.Repository, *git.Worktree, string, error)
- func (o *GitHubOptions) GetGitClientFactory() (gitv2.ClientFactory, error)
- func (o *GitHubOptions) ValidateAll() error
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
Click to show internal directories.
Click to hide internal directories.