Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewWithEnv ¶
func NewWithEnv() (*serviceImpl, error)
Types ¶
type PullRequest ¶
type PullRequest = github.PullRequest
type Repository ¶
type RepositoryName ¶
type RepositoryName struct {
FullName string
}
func (*RepositoryName) Owner ¶
func (r *RepositoryName) Owner() (string, error)
func (*RepositoryName) Repo ¶
func (r *RepositoryName) Repo() (string, error)
type Service ¶
type Service interface { GetPullRequest(ctx context.Context, repository Repository, num int) (*PullRequest, error) CreateCommitStatus(ctx context.Context, repo Repository, hash plumbing.Hash, state State, description string) error }
type Status ¶
type Status = github.RepoStatus
Directories
¶
Path | Synopsis |
---|---|
Package mock_github is a generated GoMock package.
|
Package mock_github is a generated GoMock package. |
Click to show internal directories.
Click to hide internal directories.