Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockGithubClient
- func (m *MockGithubClient) AddDeployKeyToRepo(arg0 context.Context, arg1 git.AddDeployKeyOpts) error
- func (m *MockGithubClient) AuthenticatedUser(arg0 context.Context) (*github.User, error)
- func (m *MockGithubClient) CheckAccessTokenPermissions(arg0, arg1 string) error
- func (m *MockGithubClient) CreateRepo(arg0 context.Context, arg1 git.CreateRepoOpts) (*git.Repository, error)
- func (m *MockGithubClient) DeleteRepo(arg0 context.Context, arg1 git.DeleteRepoOpts) error
- func (m *MockGithubClient) EXPECT() *MockGithubClientMockRecorder
- func (m *MockGithubClient) GetAccessTokenPermissions(arg0 string) (string, error)
- func (m *MockGithubClient) GetRepo(arg0 context.Context, arg1 git.GetRepoOpts) (*git.Repository, error)
- func (m *MockGithubClient) Organization(arg0 context.Context, arg1 string) (*github.Organization, error)
- func (m *MockGithubClient) PathExists(arg0 context.Context, arg1, arg2, arg3, arg4 string) (bool, error)
- type MockGithubClientMockRecorder
- func (mr *MockGithubClientMockRecorder) AddDeployKeyToRepo(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockGithubClientMockRecorder) AuthenticatedUser(arg0 interface{}) *gomock.Call
- func (mr *MockGithubClientMockRecorder) CheckAccessTokenPermissions(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockGithubClientMockRecorder) CreateRepo(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockGithubClientMockRecorder) DeleteRepo(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockGithubClientMockRecorder) GetAccessTokenPermissions(arg0 interface{}) *gomock.Call
- func (mr *MockGithubClientMockRecorder) GetRepo(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockGithubClientMockRecorder) Organization(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockGithubClientMockRecorder) PathExists(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockGithubClient ¶ added in v0.9.0
type MockGithubClient struct {
// contains filtered or unexported fields
}
MockGithubClient is a mock of GithubClient interface.
func NewMockGithubClient ¶ added in v0.9.0
func NewMockGithubClient(ctrl *gomock.Controller) *MockGithubClient
NewMockGithubClient creates a new mock instance.
func (*MockGithubClient) AddDeployKeyToRepo ¶ added in v0.9.2
func (m *MockGithubClient) AddDeployKeyToRepo(arg0 context.Context, arg1 git.AddDeployKeyOpts) error
AddDeployKeyToRepo mocks base method.
func (*MockGithubClient) AuthenticatedUser ¶ added in v0.9.0
AuthenticatedUser mocks base method.
func (*MockGithubClient) CheckAccessTokenPermissions ¶ added in v0.9.0
func (m *MockGithubClient) CheckAccessTokenPermissions(arg0, arg1 string) error
CheckAccessTokenPermissions mocks base method.
func (*MockGithubClient) CreateRepo ¶ added in v0.9.0
func (m *MockGithubClient) CreateRepo(arg0 context.Context, arg1 git.CreateRepoOpts) (*git.Repository, error)
CreateRepo mocks base method.
func (*MockGithubClient) DeleteRepo ¶ added in v0.9.0
func (m *MockGithubClient) DeleteRepo(arg0 context.Context, arg1 git.DeleteRepoOpts) error
DeleteRepo mocks base method.
func (*MockGithubClient) EXPECT ¶ added in v0.9.0
func (m *MockGithubClient) EXPECT() *MockGithubClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockGithubClient) GetAccessTokenPermissions ¶ added in v0.9.0
func (m *MockGithubClient) GetAccessTokenPermissions(arg0 string) (string, error)
GetAccessTokenPermissions mocks base method.
func (*MockGithubClient) GetRepo ¶ added in v0.9.0
func (m *MockGithubClient) GetRepo(arg0 context.Context, arg1 git.GetRepoOpts) (*git.Repository, error)
GetRepo mocks base method.
func (*MockGithubClient) Organization ¶ added in v0.9.0
func (m *MockGithubClient) Organization(arg0 context.Context, arg1 string) (*github.Organization, error)
Organization mocks base method.
func (*MockGithubClient) PathExists ¶ added in v0.9.0
func (m *MockGithubClient) PathExists(arg0 context.Context, arg1, arg2, arg3, arg4 string) (bool, error)
PathExists mocks base method.
type MockGithubClientMockRecorder ¶ added in v0.9.0
type MockGithubClientMockRecorder struct {
// contains filtered or unexported fields
}
MockGithubClientMockRecorder is the mock recorder for MockGithubClient.
func (*MockGithubClientMockRecorder) AddDeployKeyToRepo ¶ added in v0.9.2
func (mr *MockGithubClientMockRecorder) AddDeployKeyToRepo(arg0, arg1 interface{}) *gomock.Call
AddDeployKeyToRepo indicates an expected call of AddDeployKeyToRepo.
func (*MockGithubClientMockRecorder) AuthenticatedUser ¶ added in v0.9.0
func (mr *MockGithubClientMockRecorder) AuthenticatedUser(arg0 interface{}) *gomock.Call
AuthenticatedUser indicates an expected call of AuthenticatedUser.
func (*MockGithubClientMockRecorder) CheckAccessTokenPermissions ¶ added in v0.9.0
func (mr *MockGithubClientMockRecorder) CheckAccessTokenPermissions(arg0, arg1 interface{}) *gomock.Call
CheckAccessTokenPermissions indicates an expected call of CheckAccessTokenPermissions.
func (*MockGithubClientMockRecorder) CreateRepo ¶ added in v0.9.0
func (mr *MockGithubClientMockRecorder) CreateRepo(arg0, arg1 interface{}) *gomock.Call
CreateRepo indicates an expected call of CreateRepo.
func (*MockGithubClientMockRecorder) DeleteRepo ¶ added in v0.9.0
func (mr *MockGithubClientMockRecorder) DeleteRepo(arg0, arg1 interface{}) *gomock.Call
DeleteRepo indicates an expected call of DeleteRepo.
func (*MockGithubClientMockRecorder) GetAccessTokenPermissions ¶ added in v0.9.0
func (mr *MockGithubClientMockRecorder) GetAccessTokenPermissions(arg0 interface{}) *gomock.Call
GetAccessTokenPermissions indicates an expected call of GetAccessTokenPermissions.
func (*MockGithubClientMockRecorder) GetRepo ¶ added in v0.9.0
func (mr *MockGithubClientMockRecorder) GetRepo(arg0, arg1 interface{}) *gomock.Call
GetRepo indicates an expected call of GetRepo.
func (*MockGithubClientMockRecorder) Organization ¶ added in v0.9.0
func (mr *MockGithubClientMockRecorder) Organization(arg0, arg1 interface{}) *gomock.Call
Organization indicates an expected call of Organization.
func (*MockGithubClientMockRecorder) PathExists ¶ added in v0.9.0
func (mr *MockGithubClientMockRecorder) PathExists(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
PathExists indicates an expected call of PathExists.