Documentation ¶
Index ¶
- func ListBranches(ctx context.Context, client *github.Client, repo *github.Repository) ([]*github.Branch, error)
- func ListOrgs(ctx context.Context, client *github.Client, opt *github.ListOptions) ([]*github.Organization, error)
- func ListRepos(ctx context.Context, client *github.Client, user string, ...) ([]*github.Repository, error)
- func ListStargazers(ctx context.Context, client *github.Client, repo *github.Repository, ...) ([]*github.Stargazer, error)
- func ListWatchedRepos(ctx context.Context, client *github.Client, opt *github.ListOptions) ([]*github.Repository, error)
- func ListWatchers(ctx context.Context, client *github.Client, repo *github.Repository, ...) ([]*github.User, error)
- func NewCmdChangelog() *cobra.Command
- func NewCmdListOrgs() *cobra.Command
- func NewCmdProtect() *cobra.Command
- func NewCmdRelease() *cobra.Command
- func NewCmdStarReport() *cobra.Command
- func NewCmdStopWatch() *cobra.Command
- func NewRootCmd(version string) *cobra.Command
- func ProtectBranch(ctx context.Context, client *github.Client, owner, repo, branch string) error
- func ProtectRepo(ctx context.Context, client *github.Client, repo *github.Repository) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ListBranches ¶
func ListOrgs ¶
func ListOrgs(ctx context.Context, client *github.Client, opt *github.ListOptions) ([]*github.Organization, error)
func ListRepos ¶
func ListRepos(ctx context.Context, client *github.Client, user string, opt *github.RepositoryListOptions) ([]*github.Repository, error)
func ListStargazers ¶
func ListWatchedRepos ¶
func ListWatchedRepos(ctx context.Context, client *github.Client, opt *github.ListOptions) ([]*github.Repository, error)
func ListWatchers ¶
func NewCmdChangelog ¶
func NewCmdListOrgs ¶
func NewCmdProtect ¶
func NewCmdRelease ¶
func NewCmdStarReport ¶
func NewCmdStopWatch ¶
func NewRootCmd ¶
func ProtectBranch ¶
func ProtectRepo ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.