Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockClient
- func (m *MockClient) AddDeployKeyToRepo(arg0 context.Context, arg1, arg2 string, arg3 *github.Key) error
- func (m *MockClient) CreateRepo(arg0 context.Context, arg1 string, arg2 *github.Repository) (*github.Repository, *github.Response, error)
- func (m *MockClient) DeleteRepo(arg0 context.Context, arg1, arg2 string) (*github.Response, error)
- func (m *MockClient) EXPECT() *MockClientMockRecorder
- func (m *MockClient) GetContents(arg0 context.Context, arg1, arg2, arg3 string, ...) (*github.RepositoryContent, []*github.RepositoryContent, *github.Response, ...)
- func (m *MockClient) Organization(arg0 context.Context, arg1 string) (*github.Organization, *github.Response, error)
- func (m *MockClient) Repo(arg0 context.Context, arg1, arg2 string) (*github.Repository, *github.Response, error)
- func (m *MockClient) User(arg0 context.Context, arg1 string) (*github.User, *github.Response, error)
- type MockClientMockRecorder
- func (mr *MockClientMockRecorder) AddDeployKeyToRepo(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) CreateRepo(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) DeleteRepo(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) GetContents(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) Organization(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) Repo(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) User(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) AddDeployKeyToRepo ¶ added in v0.9.2
func (m *MockClient) AddDeployKeyToRepo(arg0 context.Context, arg1, arg2 string, arg3 *github.Key) error
AddDeployKeyToRepo mocks base method.
func (*MockClient) CreateRepo ¶
func (m *MockClient) CreateRepo(arg0 context.Context, arg1 string, arg2 *github.Repository) (*github.Repository, *github.Response, error)
CreateRepo mocks base method.
func (*MockClient) DeleteRepo ¶ added in v0.6.0
DeleteRepo 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) GetContents ¶
func (m *MockClient) GetContents(arg0 context.Context, arg1, arg2, arg3 string, arg4 *github.RepositoryContentGetOptions) (*github.RepositoryContent, []*github.RepositoryContent, *github.Response, error)
GetContents mocks base method.
func (*MockClient) Organization ¶
func (m *MockClient) Organization(arg0 context.Context, arg1 string) (*github.Organization, *github.Response, error)
Organization mocks base method.
type MockClientMockRecorder ¶
type MockClientMockRecorder struct {
// contains filtered or unexported fields
}
MockClientMockRecorder is the mock recorder for MockClient.
func (*MockClientMockRecorder) AddDeployKeyToRepo ¶ added in v0.9.2
func (mr *MockClientMockRecorder) AddDeployKeyToRepo(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
AddDeployKeyToRepo indicates an expected call of AddDeployKeyToRepo.
func (*MockClientMockRecorder) CreateRepo ¶
func (mr *MockClientMockRecorder) CreateRepo(arg0, arg1, arg2 interface{}) *gomock.Call
CreateRepo indicates an expected call of CreateRepo.
func (*MockClientMockRecorder) DeleteRepo ¶ added in v0.6.0
func (mr *MockClientMockRecorder) DeleteRepo(arg0, arg1, arg2 interface{}) *gomock.Call
DeleteRepo indicates an expected call of DeleteRepo.
func (*MockClientMockRecorder) GetContents ¶
func (mr *MockClientMockRecorder) GetContents(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
GetContents indicates an expected call of GetContents.
func (*MockClientMockRecorder) Organization ¶
func (mr *MockClientMockRecorder) Organization(arg0, arg1 interface{}) *gomock.Call
Organization indicates an expected call of Organization.
func (*MockClientMockRecorder) Repo ¶
func (mr *MockClientMockRecorder) Repo(arg0, arg1, arg2 interface{}) *gomock.Call
Repo indicates an expected call of Repo.
func (*MockClientMockRecorder) User ¶
func (mr *MockClientMockRecorder) User(arg0, arg1 interface{}) *gomock.Call
User indicates an expected call of User.