Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockClient
- func (m *MockClient) CreateBranch(arg0 context.Context, arg1 legacy.CreateBranchRequest) (*github.Reference, *github.Response, error)
- func (m *MockClient) CreatePullRequest(arg0 context.Context, arg1 legacy.CreatePRRequest) (*github.PullRequest, *github.Response, error)
- func (m *MockClient) EXPECT() *MockClientMockRecorder
- func (m *MockClient) GetBranch(arg0 context.Context, arg1 legacy.GetBranchRequest) (*github.Reference, *github.Response, error)
- func (m *MockClient) GetRepositoryContents(arg0 context.Context, arg1 legacy.GetRepositoryContentsRequest) (*github.RepositoryContent, []*github.RepositoryContent, *github.Response, ...)
- func (m *MockClient) GetRepositoryReleases(arg0 context.Context, arg1 legacy.CommonRequest) ([]*github.RepositoryRelease, *github.Response, error)
- func (m *MockClient) UpdateFile(arg0 context.Context, arg1 legacy.UpdateFileRequest) (*github.RepositoryContentResponse, *github.Response, error)
- type MockClientMockRecorder
- func (mr *MockClientMockRecorder) CreateBranch(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) CreatePullRequest(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) GetBranch(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) GetRepositoryContents(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) GetRepositoryReleases(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) UpdateFile(arg0, arg1 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockClient ¶
type MockClient struct {
// contains filtered or unexported fields
}
MockClient is a mock of Client interface.
func NewMockClient ¶
func NewMockClient(ctrl *gomock.Controller) *MockClient
NewMockClient creates a new mock instance.
func (*MockClient) CreateBranch ¶
func (m *MockClient) CreateBranch(arg0 context.Context, arg1 legacy.CreateBranchRequest) (*github.Reference, *github.Response, error)
CreateBranch mocks base method.
func (*MockClient) CreatePullRequest ¶
func (m *MockClient) CreatePullRequest(arg0 context.Context, arg1 legacy.CreatePRRequest) (*github.PullRequest, *github.Response, error)
CreatePullRequest mocks base method.
func (*MockClient) EXPECT ¶
func (m *MockClient) EXPECT() *MockClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockClient) GetBranch ¶
func (m *MockClient) GetBranch(arg0 context.Context, arg1 legacy.GetBranchRequest) (*github.Reference, *github.Response, error)
GetBranch mocks base method.
func (*MockClient) GetRepositoryContents ¶
func (m *MockClient) GetRepositoryContents(arg0 context.Context, arg1 legacy.GetRepositoryContentsRequest) (*github.RepositoryContent, []*github.RepositoryContent, *github.Response, error)
GetRepositoryContents mocks base method.
func (*MockClient) GetRepositoryReleases ¶
func (m *MockClient) GetRepositoryReleases(arg0 context.Context, arg1 legacy.CommonRequest) ([]*github.RepositoryRelease, *github.Response, error)
GetRepositoryReleases mocks base method.
func (*MockClient) UpdateFile ¶
func (m *MockClient) UpdateFile(arg0 context.Context, arg1 legacy.UpdateFileRequest) (*github.RepositoryContentResponse, *github.Response, error)
UpdateFile mocks base method.
type MockClientMockRecorder ¶
type MockClientMockRecorder struct {
// contains filtered or unexported fields
}
MockClientMockRecorder is the mock recorder for MockClient.
func (*MockClientMockRecorder) CreateBranch ¶
func (mr *MockClientMockRecorder) CreateBranch(arg0, arg1 interface{}) *gomock.Call
CreateBranch indicates an expected call of CreateBranch.
func (*MockClientMockRecorder) CreatePullRequest ¶
func (mr *MockClientMockRecorder) CreatePullRequest(arg0, arg1 interface{}) *gomock.Call
CreatePullRequest indicates an expected call of CreatePullRequest.
func (*MockClientMockRecorder) GetBranch ¶
func (mr *MockClientMockRecorder) GetBranch(arg0, arg1 interface{}) *gomock.Call
GetBranch indicates an expected call of GetBranch.
func (*MockClientMockRecorder) GetRepositoryContents ¶
func (mr *MockClientMockRecorder) GetRepositoryContents(arg0, arg1 interface{}) *gomock.Call
GetRepositoryContents indicates an expected call of GetRepositoryContents.
func (*MockClientMockRecorder) GetRepositoryReleases ¶
func (mr *MockClientMockRecorder) GetRepositoryReleases(arg0, arg1 interface{}) *gomock.Call
GetRepositoryReleases indicates an expected call of GetRepositoryReleases.
func (*MockClientMockRecorder) UpdateFile ¶
func (mr *MockClientMockRecorder) UpdateFile(arg0, arg1 interface{}) *gomock.Call
UpdateFile indicates an expected call of UpdateFile.