cmds

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2019 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ListBranches

func ListBranches(ctx context.Context, client *github.Client, repo *github.Repository) ([]*github.Branch, error)

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 ListStargazers(ctx context.Context, client *github.Client, repo *github.Repository, opt *github.ListOptions) ([]*github.Stargazer, error)

func ListWatchedRepos

func ListWatchedRepos(ctx context.Context, client *github.Client, opt *github.ListOptions) ([]*github.Repository, error)

func ListWatchers

func ListWatchers(ctx context.Context, client *github.Client, repo *github.Repository, opt *github.ListOptions) ([]*github.User, error)

func NewCmdChangelog

func NewCmdChangelog() *cobra.Command

func NewCmdListOrgs

func NewCmdListOrgs() *cobra.Command

func NewCmdProtect

func NewCmdProtect() *cobra.Command

func NewCmdRelease

func NewCmdRelease() *cobra.Command

func NewCmdStarReport

func NewCmdStarReport() *cobra.Command

func NewCmdStopWatch

func NewCmdStopWatch() *cobra.Command

func NewRootCmd

func NewRootCmd(version string) *cobra.Command

func ProtectBranch

func ProtectBranch(ctx context.Context, client *github.Client, owner, repo, branch string) error

func ProtectRepo

func ProtectRepo(ctx context.Context, client *github.Client, repo *github.Repository) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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