Documentation ¶
Index ¶
- type GithubCommit
- type GithubMock
- func (gh *GithubMock) GetCommit(ctx context.Context, ref *github.Commit) (*source_j5pb.CommitInfo, error)
- func (gh *GithubMock) PullConfig(ctx context.Context, ref *github.Commit, into proto.Message, tryPaths []string) error
- func (gh *GithubMock) TestPush(owner, name string, commit GithubCommit, refs ...string)
- type GithubRepo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GithubCommit ¶
type GithubMock ¶
type GithubMock struct {
Repos map[string]GithubRepo
}
func NewGithubMock ¶
func NewGithubMock() *GithubMock
func (*GithubMock) GetCommit ¶
func (gh *GithubMock) GetCommit(ctx context.Context, ref *github.Commit) (*source_j5pb.CommitInfo, error)
func (*GithubMock) PullConfig ¶
func (*GithubMock) TestPush ¶
func (gh *GithubMock) TestPush(owner, name string, commit GithubCommit, refs ...string)
type GithubRepo ¶
type GithubRepo struct {
Commits map[string]GithubCommit
}
Click to show internal directories.
Click to hide internal directories.