Documentation
¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockGitClient
- func (m *MockGitClient) CreateCommit(arg0 context.Context, arg1, arg2 string, arg3 *github.Commit) (*github.Commit, *github.Response, error)
- func (m *MockGitClient) CreateRef(arg0 context.Context, arg1, arg2 string, arg3 *github.Reference) (*github.Reference, *github.Response, error)
- func (m *MockGitClient) CreateTree(arg0 context.Context, arg1, arg2, arg3 string, arg4 []*github.TreeEntry) (*github.Tree, *github.Response, error)
- func (m *MockGitClient) EXPECT() *MockGitClientMockRecorder
- func (m *MockGitClient) GetRef(arg0 context.Context, arg1, arg2, arg3 string) (*github.Reference, *github.Response, error)
- func (m *MockGitClient) UpdateRef(arg0 context.Context, arg1, arg2 string, arg3 *github.Reference, arg4 bool) (*github.Reference, *github.Response, error)
- type MockGitClientMockRecorder
- func (mr *MockGitClientMockRecorder) CreateCommit(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockGitClientMockRecorder) CreateRef(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockGitClientMockRecorder) CreateTree(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
- func (mr *MockGitClientMockRecorder) GetRef(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockGitClientMockRecorder) UpdateRef(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
- type MockIssueClient
- func (m *MockIssueClient) Create(arg0 context.Context, arg1, arg2 string, arg3 *github.IssueRequest) (*github.Issue, *github.Response, error)
- func (m *MockIssueClient) EXPECT() *MockIssueClientMockRecorder
- func (m *MockIssueClient) Get(arg0 context.Context, arg1, arg2 string, arg3 int) (*github.Issue, *github.Response, error)
- type MockIssueClientMockRecorder
- type MockPullRequestClient
- func (m *MockPullRequestClient) Create(arg0 context.Context, arg1, arg2 string, arg3 *github.NewPullRequest) (*github.PullRequest, *github.Response, error)
- func (m *MockPullRequestClient) EXPECT() *MockPullRequestClientMockRecorder
- func (m *MockPullRequestClient) Get(arg0 context.Context, arg1, arg2 string, arg3 int) (*github.PullRequest, *github.Response, error)
- func (m *MockPullRequestClient) List(arg0 context.Context, arg1, arg2 string, arg3 *github.PullRequestListOptions) ([]*github.PullRequest, *github.Response, error)
- type MockPullRequestClientMockRecorder
- type MockRepoClient
- func (m *MockRepoClient) EXPECT() *MockRepoClientMockRecorder
- func (m *MockRepoClient) GetCommit(arg0 context.Context, arg1, arg2, arg3 string, arg4 *github.ListOptions) (*github.RepositoryCommit, *github.Response, error)
- func (m *MockRepoClient) GetContents(arg0 context.Context, arg1, arg2, arg3 string, ...) (*github.RepositoryContent, []*github.RepositoryContent, *github.Response, ...)
- type MockRepoClientMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockGitClient ¶
type MockGitClient struct {
// contains filtered or unexported fields
}
MockGitClient is a mock of GitClient interface.
func NewMockGitClient ¶
func NewMockGitClient(ctrl *gomock.Controller) *MockGitClient
NewMockGitClient creates a new mock instance.
func (*MockGitClient) CreateCommit ¶
func (m *MockGitClient) CreateCommit(arg0 context.Context, arg1, arg2 string, arg3 *github.Commit) (*github.Commit, *github.Response, error)
CreateCommit mocks base method.
func (*MockGitClient) CreateRef ¶
func (m *MockGitClient) CreateRef(arg0 context.Context, arg1, arg2 string, arg3 *github.Reference) (*github.Reference, *github.Response, error)
CreateRef mocks base method.
func (*MockGitClient) CreateTree ¶
func (m *MockGitClient) CreateTree(arg0 context.Context, arg1, arg2, arg3 string, arg4 []*github.TreeEntry) (*github.Tree, *github.Response, error)
CreateTree mocks base method.
func (*MockGitClient) EXPECT ¶
func (m *MockGitClient) EXPECT() *MockGitClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockGitClientMockRecorder ¶
type MockGitClientMockRecorder struct {
// contains filtered or unexported fields
}
MockGitClientMockRecorder is the mock recorder for MockGitClient.
func (*MockGitClientMockRecorder) CreateCommit ¶
func (mr *MockGitClientMockRecorder) CreateCommit(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
CreateCommit indicates an expected call of CreateCommit.
func (*MockGitClientMockRecorder) CreateRef ¶
func (mr *MockGitClientMockRecorder) CreateRef(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
CreateRef indicates an expected call of CreateRef.
func (*MockGitClientMockRecorder) CreateTree ¶
func (mr *MockGitClientMockRecorder) CreateTree(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
CreateTree indicates an expected call of CreateTree.
func (*MockGitClientMockRecorder) GetRef ¶
func (mr *MockGitClientMockRecorder) GetRef(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
GetRef indicates an expected call of GetRef.
func (*MockGitClientMockRecorder) UpdateRef ¶
func (mr *MockGitClientMockRecorder) UpdateRef(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
UpdateRef indicates an expected call of UpdateRef.
type MockIssueClient ¶
type MockIssueClient struct {
// contains filtered or unexported fields
}
MockIssueClient is a mock of IssueClient interface.
func NewMockIssueClient ¶
func NewMockIssueClient(ctrl *gomock.Controller) *MockIssueClient
NewMockIssueClient creates a new mock instance.
func (*MockIssueClient) Create ¶
func (m *MockIssueClient) Create(arg0 context.Context, arg1, arg2 string, arg3 *github.IssueRequest) (*github.Issue, *github.Response, error)
Create mocks base method.
func (*MockIssueClient) EXPECT ¶
func (m *MockIssueClient) EXPECT() *MockIssueClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockIssueClientMockRecorder ¶
type MockIssueClientMockRecorder struct {
// contains filtered or unexported fields
}
MockIssueClientMockRecorder is the mock recorder for MockIssueClient.
func (*MockIssueClientMockRecorder) Create ¶
func (mr *MockIssueClientMockRecorder) Create(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
Create indicates an expected call of Create.
func (*MockIssueClientMockRecorder) Get ¶
func (mr *MockIssueClientMockRecorder) Get(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
Get indicates an expected call of Get.
type MockPullRequestClient ¶
type MockPullRequestClient struct {
// contains filtered or unexported fields
}
MockPullRequestClient is a mock of PullRequestClient interface.
func NewMockPullRequestClient ¶
func NewMockPullRequestClient(ctrl *gomock.Controller) *MockPullRequestClient
NewMockPullRequestClient creates a new mock instance.
func (*MockPullRequestClient) Create ¶
func (m *MockPullRequestClient) Create(arg0 context.Context, arg1, arg2 string, arg3 *github.NewPullRequest) (*github.PullRequest, *github.Response, error)
Create mocks base method.
func (*MockPullRequestClient) EXPECT ¶
func (m *MockPullRequestClient) EXPECT() *MockPullRequestClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockPullRequestClient) Get ¶
func (m *MockPullRequestClient) Get(arg0 context.Context, arg1, arg2 string, arg3 int) (*github.PullRequest, *github.Response, error)
Get mocks base method.
func (*MockPullRequestClient) List ¶
func (m *MockPullRequestClient) List(arg0 context.Context, arg1, arg2 string, arg3 *github.PullRequestListOptions) ([]*github.PullRequest, *github.Response, error)
List mocks base method.
type MockPullRequestClientMockRecorder ¶
type MockPullRequestClientMockRecorder struct {
// contains filtered or unexported fields
}
MockPullRequestClientMockRecorder is the mock recorder for MockPullRequestClient.
func (*MockPullRequestClientMockRecorder) Create ¶
func (mr *MockPullRequestClientMockRecorder) Create(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
Create indicates an expected call of Create.
func (*MockPullRequestClientMockRecorder) Get ¶
func (mr *MockPullRequestClientMockRecorder) Get(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
Get indicates an expected call of Get.
func (*MockPullRequestClientMockRecorder) List ¶
func (mr *MockPullRequestClientMockRecorder) List(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
List indicates an expected call of List.
type MockRepoClient ¶
type MockRepoClient struct {
// contains filtered or unexported fields
}
MockRepoClient is a mock of RepoClient interface.
func NewMockRepoClient ¶
func NewMockRepoClient(ctrl *gomock.Controller) *MockRepoClient
NewMockRepoClient creates a new mock instance.
func (*MockRepoClient) EXPECT ¶
func (m *MockRepoClient) EXPECT() *MockRepoClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockRepoClient) GetCommit ¶
func (m *MockRepoClient) GetCommit(arg0 context.Context, arg1, arg2, arg3 string, arg4 *github.ListOptions) (*github.RepositoryCommit, *github.Response, error)
GetCommit mocks base method.
func (*MockRepoClient) GetContents ¶
func (m *MockRepoClient) GetContents(arg0 context.Context, arg1, arg2, arg3 string, arg4 *github.RepositoryContentGetOptions) (*github.RepositoryContent, []*github.RepositoryContent, *github.Response, error)
GetContents mocks base method.
type MockRepoClientMockRecorder ¶
type MockRepoClientMockRecorder struct {
// contains filtered or unexported fields
}
MockRepoClientMockRecorder is the mock recorder for MockRepoClient.
func (*MockRepoClientMockRecorder) GetCommit ¶
func (mr *MockRepoClientMockRecorder) GetCommit(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
GetCommit indicates an expected call of GetCommit.
func (*MockRepoClientMockRecorder) GetContents ¶
func (mr *MockRepoClientMockRecorder) GetContents(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
GetContents indicates an expected call of GetContents.