Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockGitProviderClient
- func (m *MockGitProviderClient) Add(arg0 string) error
- func (m *MockGitProviderClient) Branch(arg0 string) error
- func (m *MockGitProviderClient) Clone(arg0 context.Context, arg1 string) error
- func (m *MockGitProviderClient) Commit(arg0 string) error
- func (m *MockGitProviderClient) EXPECT() *MockGitProviderClientMockRecorder
- func (m *MockGitProviderClient) Init(arg0 string) error
- func (m *MockGitProviderClient) Pull(arg0 context.Context, arg1 string) error
- func (m *MockGitProviderClient) Push(arg0 context.Context) error
- func (m *MockGitProviderClient) Remove(arg0 string) error
- func (m *MockGitProviderClient) SetTokenAuth(arg0, arg1 string)
- type MockGitProviderClientMockRecorder
- func (mr *MockGitProviderClientMockRecorder) Add(arg0 interface{}) *gomock.Call
- func (mr *MockGitProviderClientMockRecorder) Branch(arg0 interface{}) *gomock.Call
- func (mr *MockGitProviderClientMockRecorder) Clone(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockGitProviderClientMockRecorder) Commit(arg0 interface{}) *gomock.Call
- func (mr *MockGitProviderClientMockRecorder) Init(arg0 interface{}) *gomock.Call
- func (mr *MockGitProviderClientMockRecorder) Pull(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockGitProviderClientMockRecorder) Push(arg0 interface{}) *gomock.Call
- func (mr *MockGitProviderClientMockRecorder) Remove(arg0 interface{}) *gomock.Call
- func (mr *MockGitProviderClientMockRecorder) SetTokenAuth(arg0, arg1 interface{}) *gomock.Call
- type MockGithubProviderClient
- func (m *MockGithubProviderClient) AuthenticatedUser(arg0 context.Context) (*github.User, error)
- func (m *MockGithubProviderClient) CheckAccessTokenPermissions(arg0, arg1 string) error
- func (m *MockGithubProviderClient) CreateRepo(arg0 context.Context, arg1 git.CreateRepoOpts) (*git.Repository, error)
- func (m *MockGithubProviderClient) DeleteRepo(arg0 context.Context, arg1 git.DeleteRepoOpts) error
- func (m *MockGithubProviderClient) EXPECT() *MockGithubProviderClientMockRecorder
- func (m *MockGithubProviderClient) GetAccessTokenPermissions(arg0 string) (string, error)
- func (m *MockGithubProviderClient) GetRepo(arg0 context.Context, arg1 git.GetRepoOpts) (*git.Repository, error)
- func (m *MockGithubProviderClient) Organization(arg0 context.Context, arg1 string) (*github.Organization, error)
- func (m *MockGithubProviderClient) PathExists(arg0 context.Context, arg1, arg2, arg3, arg4 string) (bool, error)
- type MockGithubProviderClientMockRecorder
- func (mr *MockGithubProviderClientMockRecorder) AuthenticatedUser(arg0 interface{}) *gomock.Call
- func (mr *MockGithubProviderClientMockRecorder) CheckAccessTokenPermissions(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockGithubProviderClientMockRecorder) CreateRepo(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockGithubProviderClientMockRecorder) DeleteRepo(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockGithubProviderClientMockRecorder) GetAccessTokenPermissions(arg0 interface{}) *gomock.Call
- func (mr *MockGithubProviderClientMockRecorder) GetRepo(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockGithubProviderClientMockRecorder) Organization(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockGithubProviderClientMockRecorder) 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 MockGitProviderClient ¶
type MockGitProviderClient struct {
// contains filtered or unexported fields
}
MockGitProviderClient is a mock of GitProviderClient interface.
func NewMockGitProviderClient ¶
func NewMockGitProviderClient(ctrl *gomock.Controller) *MockGitProviderClient
NewMockGitProviderClient creates a new mock instance.
func (*MockGitProviderClient) Add ¶
func (m *MockGitProviderClient) Add(arg0 string) error
Add mocks base method.
func (*MockGitProviderClient) Branch ¶
func (m *MockGitProviderClient) Branch(arg0 string) error
Branch mocks base method.
func (*MockGitProviderClient) Clone ¶
func (m *MockGitProviderClient) Clone(arg0 context.Context, arg1 string) error
Clone mocks base method.
func (*MockGitProviderClient) Commit ¶
func (m *MockGitProviderClient) Commit(arg0 string) error
Commit mocks base method.
func (*MockGitProviderClient) EXPECT ¶
func (m *MockGitProviderClient) EXPECT() *MockGitProviderClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockGitProviderClient) Init ¶
func (m *MockGitProviderClient) Init(arg0 string) error
Init mocks base method.
func (*MockGitProviderClient) Pull ¶
func (m *MockGitProviderClient) Pull(arg0 context.Context, arg1 string) error
Pull mocks base method.
func (*MockGitProviderClient) Push ¶
func (m *MockGitProviderClient) Push(arg0 context.Context) error
Push mocks base method.
func (*MockGitProviderClient) Remove ¶
func (m *MockGitProviderClient) Remove(arg0 string) error
Remove mocks base method.
func (*MockGitProviderClient) SetTokenAuth ¶
func (m *MockGitProviderClient) SetTokenAuth(arg0, arg1 string)
SetTokenAuth mocks base method.
type MockGitProviderClientMockRecorder ¶
type MockGitProviderClientMockRecorder struct {
// contains filtered or unexported fields
}
MockGitProviderClientMockRecorder is the mock recorder for MockGitProviderClient.
func (*MockGitProviderClientMockRecorder) Add ¶
func (mr *MockGitProviderClientMockRecorder) Add(arg0 interface{}) *gomock.Call
Add indicates an expected call of Add.
func (*MockGitProviderClientMockRecorder) Branch ¶
func (mr *MockGitProviderClientMockRecorder) Branch(arg0 interface{}) *gomock.Call
Branch indicates an expected call of Branch.
func (*MockGitProviderClientMockRecorder) Clone ¶
func (mr *MockGitProviderClientMockRecorder) Clone(arg0, arg1 interface{}) *gomock.Call
Clone indicates an expected call of Clone.
func (*MockGitProviderClientMockRecorder) Commit ¶
func (mr *MockGitProviderClientMockRecorder) Commit(arg0 interface{}) *gomock.Call
Commit indicates an expected call of Commit.
func (*MockGitProviderClientMockRecorder) Init ¶
func (mr *MockGitProviderClientMockRecorder) Init(arg0 interface{}) *gomock.Call
Init indicates an expected call of Init.
func (*MockGitProviderClientMockRecorder) Pull ¶
func (mr *MockGitProviderClientMockRecorder) Pull(arg0, arg1 interface{}) *gomock.Call
Pull indicates an expected call of Pull.
func (*MockGitProviderClientMockRecorder) Push ¶
func (mr *MockGitProviderClientMockRecorder) Push(arg0 interface{}) *gomock.Call
Push indicates an expected call of Push.
func (*MockGitProviderClientMockRecorder) Remove ¶
func (mr *MockGitProviderClientMockRecorder) Remove(arg0 interface{}) *gomock.Call
Remove indicates an expected call of Remove.
func (*MockGitProviderClientMockRecorder) SetTokenAuth ¶
func (mr *MockGitProviderClientMockRecorder) SetTokenAuth(arg0, arg1 interface{}) *gomock.Call
SetTokenAuth indicates an expected call of SetTokenAuth.
type MockGithubProviderClient ¶
type MockGithubProviderClient struct {
// contains filtered or unexported fields
}
MockGithubProviderClient is a mock of GithubProviderClient interface.
func NewMockGithubProviderClient ¶
func NewMockGithubProviderClient(ctrl *gomock.Controller) *MockGithubProviderClient
NewMockGithubProviderClient creates a new mock instance.
func (*MockGithubProviderClient) AuthenticatedUser ¶
AuthenticatedUser mocks base method.
func (*MockGithubProviderClient) CheckAccessTokenPermissions ¶
func (m *MockGithubProviderClient) CheckAccessTokenPermissions(arg0, arg1 string) error
CheckAccessTokenPermissions mocks base method.
func (*MockGithubProviderClient) CreateRepo ¶
func (m *MockGithubProviderClient) CreateRepo(arg0 context.Context, arg1 git.CreateRepoOpts) (*git.Repository, error)
CreateRepo mocks base method.
func (*MockGithubProviderClient) DeleteRepo ¶ added in v0.6.0
func (m *MockGithubProviderClient) DeleteRepo(arg0 context.Context, arg1 git.DeleteRepoOpts) error
DeleteRepo mocks base method.
func (*MockGithubProviderClient) EXPECT ¶
func (m *MockGithubProviderClient) EXPECT() *MockGithubProviderClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockGithubProviderClient) GetAccessTokenPermissions ¶
func (m *MockGithubProviderClient) GetAccessTokenPermissions(arg0 string) (string, error)
GetAccessTokenPermissions mocks base method.
func (*MockGithubProviderClient) GetRepo ¶
func (m *MockGithubProviderClient) GetRepo(arg0 context.Context, arg1 git.GetRepoOpts) (*git.Repository, error)
GetRepo mocks base method.
func (*MockGithubProviderClient) Organization ¶
func (m *MockGithubProviderClient) Organization(arg0 context.Context, arg1 string) (*github.Organization, error)
Organization mocks base method.
func (*MockGithubProviderClient) PathExists ¶
func (m *MockGithubProviderClient) PathExists(arg0 context.Context, arg1, arg2, arg3, arg4 string) (bool, error)
PathExists mocks base method.
type MockGithubProviderClientMockRecorder ¶
type MockGithubProviderClientMockRecorder struct {
// contains filtered or unexported fields
}
MockGithubProviderClientMockRecorder is the mock recorder for MockGithubProviderClient.
func (*MockGithubProviderClientMockRecorder) AuthenticatedUser ¶
func (mr *MockGithubProviderClientMockRecorder) AuthenticatedUser(arg0 interface{}) *gomock.Call
AuthenticatedUser indicates an expected call of AuthenticatedUser.
func (*MockGithubProviderClientMockRecorder) CheckAccessTokenPermissions ¶
func (mr *MockGithubProviderClientMockRecorder) CheckAccessTokenPermissions(arg0, arg1 interface{}) *gomock.Call
CheckAccessTokenPermissions indicates an expected call of CheckAccessTokenPermissions.
func (*MockGithubProviderClientMockRecorder) CreateRepo ¶
func (mr *MockGithubProviderClientMockRecorder) CreateRepo(arg0, arg1 interface{}) *gomock.Call
CreateRepo indicates an expected call of CreateRepo.
func (*MockGithubProviderClientMockRecorder) DeleteRepo ¶ added in v0.6.0
func (mr *MockGithubProviderClientMockRecorder) DeleteRepo(arg0, arg1 interface{}) *gomock.Call
DeleteRepo indicates an expected call of DeleteRepo.
func (*MockGithubProviderClientMockRecorder) GetAccessTokenPermissions ¶
func (mr *MockGithubProviderClientMockRecorder) GetAccessTokenPermissions(arg0 interface{}) *gomock.Call
GetAccessTokenPermissions indicates an expected call of GetAccessTokenPermissions.
func (*MockGithubProviderClientMockRecorder) GetRepo ¶
func (mr *MockGithubProviderClientMockRecorder) GetRepo(arg0, arg1 interface{}) *gomock.Call
GetRepo indicates an expected call of GetRepo.
func (*MockGithubProviderClientMockRecorder) Organization ¶
func (mr *MockGithubProviderClientMockRecorder) Organization(arg0, arg1 interface{}) *gomock.Call
Organization indicates an expected call of Organization.
func (*MockGithubProviderClientMockRecorder) PathExists ¶
func (mr *MockGithubProviderClientMockRecorder) PathExists(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
PathExists indicates an expected call of PathExists.