Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PromptUserAndPassword ¶
Types ¶
type Client ¶
type Client interface { GetPullRequests(ctx context.Context, owner, repo string) ([]PullRequest, error) GetIssues(ctx context.Context, owner, repo string) ([]Issue, error) GetRepository(ctx context.Context, owner, repo string) (Repository, error) GetRepositoryURL(owner, repo string) (string, error) GetIssuesURL(owner, repo string) (string, error) GetIssueURL(owner, repo string, no int) (string, error) GetPullRequestsURL(owner, repo string) (string, error) GetPullRequestURL(owner, repo string, no int) (string, error) GetProjectsURL(owner, repo string) (string, error) GetProjectURL(owner, repo string, no int) (string, error) GetMilestonesURL(owner, repo string) (string, error) GetMilestoneURL(owner, repo string, no int) (string, error) GetWikisURL(owner, repo string) (string, error) GetCommitsURL(owner, repo string) (string, error) CreateRepository(ctx context.Context, repo string) (Repository, error) CreatePullRequest(ctx context.Context, repo string, opt *NewPullRequest) (PullRequest, error) CreateRelease(ctx context.Context, owner, repo string, newRelease *NewRelease) (Release, error) CreateToken(ctx context.Context) (string, error) }
type NewPullRequest ¶ added in v0.0.2
type NewRelease ¶ added in v0.0.2
func (*NewRelease) GetBody ¶ added in v0.0.2
func (nr *NewRelease) GetBody() string
func (*NewRelease) GetHTMLURL ¶ added in v0.0.2
func (nr *NewRelease) GetHTMLURL() string
func (*NewRelease) GetID ¶ added in v0.0.2
func (nr *NewRelease) GetID() int
func (*NewRelease) GetName ¶ added in v0.0.2
func (nr *NewRelease) GetName() string
func (*NewRelease) GetTagName ¶ added in v0.0.2
func (nr *NewRelease) GetTagName() string
type PullRequest ¶
type Repository ¶
Click to show internal directories.
Click to hide internal directories.