Documentation ¶
Index ¶
- func NewCreateRepoCmd(ctx context.Context) *cobra.Command
- func NewDeleteRepoCmd(ctx context.Context) *cobra.Command
- func NewHiringCmd(ctx context.Context) *cobra.Command
- func NewHiringSendCmd(ctx context.Context) *cobra.Command
- func NewHiringUnseat(ctx context.Context) *cobra.Command
- func NewRepoCmd(ctx context.Context) *cobra.Command
- func NewRootCmd() *cobra.Command
- func NewUpdateCmd(ctx context.Context) *cobra.Command
- func NewVersionCmd(ctx context.Context) *cobra.Command
- func RunCreateRepo(ctx context.Context, repoName string, opts *CreateRepoOptions) error
- func RunCreateTestRepo(ctx context.Context, candidate string, testRepo string, ...) error
- func RunDeleteRepo(ctx context.Context, name string, opts *DeleteRepoOpts) error
- func RunUnseat(ctx context.Context, opts *UnseatOpts) error
- func RunUpdate(ctx context.Context, opts *UpdateOptions) error
- type CreateRepoOptions
- type DeleteRepoOpts
- type HiringSendOpts
- type RootOptions
- type UnseatOpts
- type UpdateOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCreateRepoCmd ¶
NewCreateRepoCmd creates a new create repo command
func NewDeleteRepoCmd ¶
NewDeleteRepoCmd creates a new delete repo command
func NewHiringCmd ¶
NewHiringCmd aggregates the hiring comamnds
func NewHiringSendCmd ¶
NewHiringSendCmd creates a new send hiring test command
func NewHiringUnseat ¶
NewHiringUnseat creates a new hiring unseat command
func NewRepoCmd ¶
NewRepoCmd aggregates the repo comamnds
func NewUpdateCmd ¶
NewUpdateCmd creates a new update command
func NewVersionCmd ¶
NewVersionCmd creates a new version command
func RunCreateRepo ¶
func RunCreateRepo(ctx context.Context, repoName string, opts *CreateRepoOptions) error
RunCreateRepo runs the command to create a new repository
func RunCreateTestRepo ¶
func RunCreateTestRepo(ctx context.Context, candidate string, testRepo string, reference plumbing.ReferenceName) error
RunCreateTestRepo runs the command to create a new hiring test repository
func RunDeleteRepo ¶
func RunDeleteRepo(ctx context.Context, name string, opts *DeleteRepoOpts) error
RunDeleteRepo runs the command to delete a repository
Types ¶
type CreateRepoOptions ¶
type CreateRepoOptions struct { Description string Private bool HasTeams bool HasCollaborators bool HasLabels bool HasDefaultLabels bool HasWebhooks bool HasBranchProtections bool HasIssues bool HasWiki bool HasPages bool }
CreateRepoOptions are the flags for the create repository command
type DeleteRepoOpts ¶
type DeleteRepoOpts struct{}
DeleteRepoOpts are the flags for the delete repo command
type HiringSendOpts ¶
type HiringSendOpts struct{}
HiringSendOpts are the flags for the send a hiring test command
type RootOptions ¶
type RootOptions struct {
// contains filtered or unexported fields
}
RootOptions represents the ahoy global options
type UnseatOpts ¶
UnseatOpts are the flags for the unseat command
type UpdateOptions ¶
type UpdateOptions struct {
// contains filtered or unexported fields
}
UpdateOptions are the command flags