github

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Jun 1, 2017 License: MIT Imports: 8 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	RawClient *github.Client

	ListOptions *github.ListOptions
	// contains filtered or unexported fields
}

func NewClient

func NewClient(ctx context.Context, host *etc.ServiceConfig) (*Client, error)

func NewClientViaBasicAuth

func NewClientViaBasicAuth(ctx context.Context, host *etc.ServiceConfig, user, pass string) (*Client, error)

func (*Client) CreateToken

func (c *Client) CreateToken(ctx context.Context) (string, error)

func (*Client) GetIssueURL

func (c *Client) GetIssueURL(owner, repo string, id int) (string, error)

func (*Client) GetIssues

func (c *Client) GetIssues(ctx context.Context, owner, repo string) (serviceIssues []service.Issue, err error)

func (*Client) GetIssuesURL

func (c *Client) GetIssuesURL(owner, repo string) (string, error)

func (*Client) GetPullRequestURL

func (c *Client) GetPullRequestURL(owner, repo string, id int) (string, error)

func (*Client) GetPullRequests

func (c *Client) GetPullRequests(ctx context.Context, owner, repo string) (servicePullRequests []service.PullRequest, err error)

func (*Client) GetPullRequestsURL

func (c *Client) GetPullRequestsURL(owner, repo string) (string, error)

func (*Client) GetRepository

func (c *Client) GetRepository(ctx context.Context, owner, repo string) (service.Repository, error)

func (*Client) GetRepositoryURL

func (c *Client) GetRepositoryURL(owner, repo string) (string, error)

type Issue

type Issue struct {
	*github.Issue
}

type PullRequest

type PullRequest struct {
	*github.PullRequest
}

type Repository

type Repository struct {
	*github.Repository
}

Jump to

Keyboard shortcuts

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