Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockClient
- func (m *MockClient) Add(arg0 string) error
- func (m *MockClient) Branch(arg0 string) error
- func (m *MockClient) Clone(arg0 context.Context) error
- func (m *MockClient) Commit(arg0 string) error
- func (m *MockClient) EXPECT() *MockClientMockRecorder
- func (m *MockClient) Init() error
- func (m *MockClient) Pull(arg0 context.Context, arg1 string) error
- func (m *MockClient) Push(arg0 context.Context) error
- func (m *MockClient) Remove(arg0 string) error
- func (m *MockClient) ValidateRemoteExists(arg0 context.Context) error
- type MockClientMockRecorder
- func (mr *MockClientMockRecorder) Add(arg0 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) Branch(arg0 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) Clone(arg0 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) Commit(arg0 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) Init() *gomock.Call
- func (mr *MockClientMockRecorder) Pull(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) Push(arg0 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) Remove(arg0 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) ValidateRemoteExists(arg0 interface{}) *gomock.Call
- type MockProviderClient
- func (m *MockProviderClient) AddDeployKeyToRepo(arg0 context.Context, arg1 git.AddDeployKeyOpts) error
- func (m *MockProviderClient) CreateRepo(arg0 context.Context, arg1 git.CreateRepoOpts) (*git.Repository, error)
- func (m *MockProviderClient) DeleteRepo(arg0 context.Context, arg1 git.DeleteRepoOpts) error
- func (m *MockProviderClient) EXPECT() *MockProviderClientMockRecorder
- func (m *MockProviderClient) GetRepo(arg0 context.Context) (*git.Repository, error)
- func (m *MockProviderClient) PathExists(arg0 context.Context, arg1, arg2, arg3, arg4 string) (bool, error)
- func (m *MockProviderClient) Validate(arg0 context.Context) error
- type MockProviderClientMockRecorder
- func (mr *MockProviderClientMockRecorder) AddDeployKeyToRepo(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockProviderClientMockRecorder) CreateRepo(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockProviderClientMockRecorder) DeleteRepo(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockProviderClientMockRecorder) GetRepo(arg0 interface{}) *gomock.Call
- func (mr *MockProviderClientMockRecorder) PathExists(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
- func (mr *MockProviderClientMockRecorder) Validate(arg0 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockClient ¶ added in v0.9.0
type MockClient struct {
// contains filtered or unexported fields
}
MockClient is a mock of Client interface.
func NewMockClient ¶ added in v0.9.0
func NewMockClient(ctrl *gomock.Controller) *MockClient
NewMockClient creates a new mock instance.
func (*MockClient) Add ¶ added in v0.9.0
func (m *MockClient) Add(arg0 string) error
Add mocks base method.
func (*MockClient) Branch ¶ added in v0.9.0
func (m *MockClient) Branch(arg0 string) error
Branch mocks base method.
func (*MockClient) Clone ¶ added in v0.9.0
func (m *MockClient) Clone(arg0 context.Context) error
Clone mocks base method.
func (*MockClient) Commit ¶ added in v0.9.0
func (m *MockClient) Commit(arg0 string) error
Commit mocks base method.
func (*MockClient) EXPECT ¶ added in v0.9.0
func (m *MockClient) EXPECT() *MockClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockClient) Pull ¶ added in v0.9.0
func (m *MockClient) Pull(arg0 context.Context, arg1 string) error
Pull mocks base method.
func (*MockClient) Push ¶ added in v0.9.0
func (m *MockClient) Push(arg0 context.Context) error
Push mocks base method.
func (*MockClient) Remove ¶ added in v0.9.0
func (m *MockClient) Remove(arg0 string) error
Remove mocks base method.
func (*MockClient) ValidateRemoteExists ¶ added in v0.9.0
func (m *MockClient) ValidateRemoteExists(arg0 context.Context) error
ValidateRemoteExists mocks base method.
type MockClientMockRecorder ¶ added in v0.9.0
type MockClientMockRecorder struct {
// contains filtered or unexported fields
}
MockClientMockRecorder is the mock recorder for MockClient.
func (*MockClientMockRecorder) Add ¶ added in v0.9.0
func (mr *MockClientMockRecorder) Add(arg0 interface{}) *gomock.Call
Add indicates an expected call of Add.
func (*MockClientMockRecorder) Branch ¶ added in v0.9.0
func (mr *MockClientMockRecorder) Branch(arg0 interface{}) *gomock.Call
Branch indicates an expected call of Branch.
func (*MockClientMockRecorder) Clone ¶ added in v0.9.0
func (mr *MockClientMockRecorder) Clone(arg0 interface{}) *gomock.Call
Clone indicates an expected call of Clone.
func (*MockClientMockRecorder) Commit ¶ added in v0.9.0
func (mr *MockClientMockRecorder) Commit(arg0 interface{}) *gomock.Call
Commit indicates an expected call of Commit.
func (*MockClientMockRecorder) Init ¶ added in v0.9.0
func (mr *MockClientMockRecorder) Init() *gomock.Call
Init indicates an expected call of Init.
func (*MockClientMockRecorder) Pull ¶ added in v0.9.0
func (mr *MockClientMockRecorder) Pull(arg0, arg1 interface{}) *gomock.Call
Pull indicates an expected call of Pull.
func (*MockClientMockRecorder) Push ¶ added in v0.9.0
func (mr *MockClientMockRecorder) Push(arg0 interface{}) *gomock.Call
Push indicates an expected call of Push.
func (*MockClientMockRecorder) Remove ¶ added in v0.9.0
func (mr *MockClientMockRecorder) Remove(arg0 interface{}) *gomock.Call
Remove indicates an expected call of Remove.
func (*MockClientMockRecorder) ValidateRemoteExists ¶ added in v0.9.0
func (mr *MockClientMockRecorder) ValidateRemoteExists(arg0 interface{}) *gomock.Call
ValidateRemoteExists indicates an expected call of ValidateRemoteExists.
type MockProviderClient ¶ added in v0.9.0
type MockProviderClient struct {
// contains filtered or unexported fields
}
MockProviderClient is a mock of ProviderClient interface.
func NewMockProviderClient ¶ added in v0.9.0
func NewMockProviderClient(ctrl *gomock.Controller) *MockProviderClient
NewMockProviderClient creates a new mock instance.
func (*MockProviderClient) AddDeployKeyToRepo ¶ added in v0.9.2
func (m *MockProviderClient) AddDeployKeyToRepo(arg0 context.Context, arg1 git.AddDeployKeyOpts) error
AddDeployKeyToRepo mocks base method.
func (*MockProviderClient) CreateRepo ¶ added in v0.9.0
func (m *MockProviderClient) CreateRepo(arg0 context.Context, arg1 git.CreateRepoOpts) (*git.Repository, error)
CreateRepo mocks base method.
func (*MockProviderClient) DeleteRepo ¶ added in v0.9.0
func (m *MockProviderClient) DeleteRepo(arg0 context.Context, arg1 git.DeleteRepoOpts) error
DeleteRepo mocks base method.
func (*MockProviderClient) EXPECT ¶ added in v0.9.0
func (m *MockProviderClient) EXPECT() *MockProviderClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockProviderClient) GetRepo ¶ added in v0.9.0
func (m *MockProviderClient) GetRepo(arg0 context.Context) (*git.Repository, error)
GetRepo mocks base method.
func (*MockProviderClient) PathExists ¶ added in v0.9.0
func (m *MockProviderClient) PathExists(arg0 context.Context, arg1, arg2, arg3, arg4 string) (bool, error)
PathExists mocks base method.
type MockProviderClientMockRecorder ¶ added in v0.9.0
type MockProviderClientMockRecorder struct {
// contains filtered or unexported fields
}
MockProviderClientMockRecorder is the mock recorder for MockProviderClient.
func (*MockProviderClientMockRecorder) AddDeployKeyToRepo ¶ added in v0.9.2
func (mr *MockProviderClientMockRecorder) AddDeployKeyToRepo(arg0, arg1 interface{}) *gomock.Call
AddDeployKeyToRepo indicates an expected call of AddDeployKeyToRepo.
func (*MockProviderClientMockRecorder) CreateRepo ¶ added in v0.9.0
func (mr *MockProviderClientMockRecorder) CreateRepo(arg0, arg1 interface{}) *gomock.Call
CreateRepo indicates an expected call of CreateRepo.
func (*MockProviderClientMockRecorder) DeleteRepo ¶ added in v0.9.0
func (mr *MockProviderClientMockRecorder) DeleteRepo(arg0, arg1 interface{}) *gomock.Call
DeleteRepo indicates an expected call of DeleteRepo.
func (*MockProviderClientMockRecorder) GetRepo ¶ added in v0.9.0
func (mr *MockProviderClientMockRecorder) GetRepo(arg0 interface{}) *gomock.Call
GetRepo indicates an expected call of GetRepo.
func (*MockProviderClientMockRecorder) PathExists ¶ added in v0.9.0
func (mr *MockProviderClientMockRecorder) PathExists(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
PathExists indicates an expected call of PathExists.
func (*MockProviderClientMockRecorder) Validate ¶ added in v0.9.0
func (mr *MockProviderClientMockRecorder) Validate(arg0 interface{}) *gomock.Call
Validate indicates an expected call of Validate.