Documentation ¶
Overview ¶
Package mock_gitrepo is a generated GoMock package.
Package mock_gitrepo is a generated GoMock package.
Index ¶
- type MockApplicationGitRepo
- func (m *MockApplicationGitRepo) CreateApplication(ctx context.Context, application string, ...) error
- func (m *MockApplicationGitRepo) DeleteApplication(ctx context.Context, application string, applicationID uint) error
- func (m *MockApplicationGitRepo) EXPECT() *MockApplicationGitRepoMockRecorder
- func (m *MockApplicationGitRepo) GetApplication(ctx context.Context, application string) (map[string]interface{}, map[string]interface{}, error)
- func (m *MockApplicationGitRepo) GetApplicationEnvTemplate(ctx context.Context, application, env string) (map[string]interface{}, map[string]interface{}, error)
- func (m *MockApplicationGitRepo) HardDeleteApplication(ctx context.Context, application string) error
- func (m *MockApplicationGitRepo) UpdateApplication(ctx context.Context, application string, ...) error
- func (m *MockApplicationGitRepo) UpdateApplicationEnvTemplate(ctx context.Context, application, env string, ...) error
- type MockApplicationGitRepo2
- func (m *MockApplicationGitRepo2) CreateOrUpdateApplication(ctx context.Context, application string, request gitrepo.CreateOrUpdateRequest) error
- func (m *MockApplicationGitRepo2) EXPECT() *MockApplicationGitRepo2MockRecorder
- func (m *MockApplicationGitRepo2) GetApplication(ctx context.Context, application, environment string) (*gitrepo.GetResponse, error)
- func (m *MockApplicationGitRepo2) HardDeleteApplication(ctx context.Context, application string) error
- type MockApplicationGitRepo2MockRecorder
- func (mr *MockApplicationGitRepo2MockRecorder) CreateOrUpdateApplication(ctx, application, request interface{}) *gomock.Call
- func (mr *MockApplicationGitRepo2MockRecorder) GetApplication(ctx, application, environment interface{}) *gomock.Call
- func (mr *MockApplicationGitRepo2MockRecorder) HardDeleteApplication(ctx, application interface{}) *gomock.Call
- type MockApplicationGitRepoMockRecorder
- func (mr *MockApplicationGitRepoMockRecorder) CreateApplication(ctx, application, pipelineJSONBlob, applicationJSONBlob interface{}) *gomock.Call
- func (mr *MockApplicationGitRepoMockRecorder) DeleteApplication(ctx, application, applicationID interface{}) *gomock.Call
- func (mr *MockApplicationGitRepoMockRecorder) GetApplication(ctx, application interface{}) *gomock.Call
- func (mr *MockApplicationGitRepoMockRecorder) GetApplicationEnvTemplate(ctx, application, env interface{}) *gomock.Call
- func (mr *MockApplicationGitRepoMockRecorder) HardDeleteApplication(ctx, application interface{}) *gomock.Call
- func (mr *MockApplicationGitRepoMockRecorder) UpdateApplication(ctx, application, pipelineJSONBlob, applicationJSONBlob interface{}) *gomock.Call
- func (mr *MockApplicationGitRepoMockRecorder) UpdateApplicationEnvTemplate(ctx, application, env, pipelineJSONBlob, applicationJSONBlob interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockApplicationGitRepo ¶
type MockApplicationGitRepo struct {
// contains filtered or unexported fields
}
MockApplicationGitRepo is a mock of ApplicationGitRepo interface.
func NewMockApplicationGitRepo ¶
func NewMockApplicationGitRepo(ctrl *gomock.Controller) *MockApplicationGitRepo
NewMockApplicationGitRepo creates a new mock instance.
func (*MockApplicationGitRepo) CreateApplication ¶
func (m *MockApplicationGitRepo) CreateApplication(ctx context.Context, application string, pipelineJSONBlob, applicationJSONBlob map[string]interface{}) error
CreateApplication mocks base method.
func (*MockApplicationGitRepo) DeleteApplication ¶
func (m *MockApplicationGitRepo) DeleteApplication(ctx context.Context, application string, applicationID uint) error
DeleteApplication mocks base method.
func (*MockApplicationGitRepo) EXPECT ¶
func (m *MockApplicationGitRepo) EXPECT() *MockApplicationGitRepoMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockApplicationGitRepo) GetApplication ¶
func (m *MockApplicationGitRepo) GetApplication(ctx context.Context, application string) (map[string]interface{}, map[string]interface{}, error)
GetApplication mocks base method.
func (*MockApplicationGitRepo) GetApplicationEnvTemplate ¶
func (m *MockApplicationGitRepo) GetApplicationEnvTemplate(ctx context.Context, application, env string) (map[string]interface{}, map[string]interface{}, error)
GetApplicationEnvTemplate mocks base method.
func (*MockApplicationGitRepo) HardDeleteApplication ¶
func (m *MockApplicationGitRepo) HardDeleteApplication(ctx context.Context, application string) error
HardDeleteApplication mocks base method.
func (*MockApplicationGitRepo) UpdateApplication ¶
func (m *MockApplicationGitRepo) UpdateApplication(ctx context.Context, application string, pipelineJSONBlob, applicationJSONBlob map[string]interface{}) error
UpdateApplication mocks base method.
func (*MockApplicationGitRepo) UpdateApplicationEnvTemplate ¶
func (m *MockApplicationGitRepo) UpdateApplicationEnvTemplate(ctx context.Context, application, env string, pipelineJSONBlob, applicationJSONBlob map[string]interface{}) error
UpdateApplicationEnvTemplate mocks base method.
type MockApplicationGitRepo2 ¶
type MockApplicationGitRepo2 struct {
// contains filtered or unexported fields
}
MockApplicationGitRepo2 is a mock of ApplicationGitRepo interface.
func NewMockApplicationGitRepo2 ¶
func NewMockApplicationGitRepo2(ctrl *gomock.Controller) *MockApplicationGitRepo2
NewMockApplicationGitRepo2 creates a new mock instance.
func (*MockApplicationGitRepo2) CreateOrUpdateApplication ¶
func (m *MockApplicationGitRepo2) CreateOrUpdateApplication(ctx context.Context, application string, request gitrepo.CreateOrUpdateRequest) error
CreateOrUpdateApplication mocks base method.
func (*MockApplicationGitRepo2) EXPECT ¶
func (m *MockApplicationGitRepo2) EXPECT() *MockApplicationGitRepo2MockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockApplicationGitRepo2) GetApplication ¶
func (m *MockApplicationGitRepo2) GetApplication(ctx context.Context, application, environment string) (*gitrepo.GetResponse, error)
GetApplication mocks base method.
func (*MockApplicationGitRepo2) HardDeleteApplication ¶
func (m *MockApplicationGitRepo2) HardDeleteApplication(ctx context.Context, application string) error
HardDeleteApplication mocks base method.
type MockApplicationGitRepo2MockRecorder ¶
type MockApplicationGitRepo2MockRecorder struct {
// contains filtered or unexported fields
}
MockApplicationGitRepo2MockRecorder is the mock recorder for MockApplicationGitRepo2.
func (*MockApplicationGitRepo2MockRecorder) CreateOrUpdateApplication ¶
func (mr *MockApplicationGitRepo2MockRecorder) CreateOrUpdateApplication(ctx, application, request interface{}) *gomock.Call
CreateOrUpdateApplication indicates an expected call of CreateOrUpdateApplication.
func (*MockApplicationGitRepo2MockRecorder) GetApplication ¶
func (mr *MockApplicationGitRepo2MockRecorder) GetApplication(ctx, application, environment interface{}) *gomock.Call
GetApplication indicates an expected call of GetApplication.
func (*MockApplicationGitRepo2MockRecorder) HardDeleteApplication ¶
func (mr *MockApplicationGitRepo2MockRecorder) HardDeleteApplication(ctx, application interface{}) *gomock.Call
HardDeleteApplication indicates an expected call of HardDeleteApplication.
type MockApplicationGitRepoMockRecorder ¶
type MockApplicationGitRepoMockRecorder struct {
// contains filtered or unexported fields
}
MockApplicationGitRepoMockRecorder is the mock recorder for MockApplicationGitRepo.
func (*MockApplicationGitRepoMockRecorder) CreateApplication ¶
func (mr *MockApplicationGitRepoMockRecorder) CreateApplication(ctx, application, pipelineJSONBlob, applicationJSONBlob interface{}) *gomock.Call
CreateApplication indicates an expected call of CreateApplication.
func (*MockApplicationGitRepoMockRecorder) DeleteApplication ¶
func (mr *MockApplicationGitRepoMockRecorder) DeleteApplication(ctx, application, applicationID interface{}) *gomock.Call
DeleteApplication indicates an expected call of DeleteApplication.
func (*MockApplicationGitRepoMockRecorder) GetApplication ¶
func (mr *MockApplicationGitRepoMockRecorder) GetApplication(ctx, application interface{}) *gomock.Call
GetApplication indicates an expected call of GetApplication.
func (*MockApplicationGitRepoMockRecorder) GetApplicationEnvTemplate ¶
func (mr *MockApplicationGitRepoMockRecorder) GetApplicationEnvTemplate(ctx, application, env interface{}) *gomock.Call
GetApplicationEnvTemplate indicates an expected call of GetApplicationEnvTemplate.
func (*MockApplicationGitRepoMockRecorder) HardDeleteApplication ¶
func (mr *MockApplicationGitRepoMockRecorder) HardDeleteApplication(ctx, application interface{}) *gomock.Call
HardDeleteApplication indicates an expected call of HardDeleteApplication.
func (*MockApplicationGitRepoMockRecorder) UpdateApplication ¶
func (mr *MockApplicationGitRepoMockRecorder) UpdateApplication(ctx, application, pipelineJSONBlob, applicationJSONBlob interface{}) *gomock.Call
UpdateApplication indicates an expected call of UpdateApplication.
func (*MockApplicationGitRepoMockRecorder) UpdateApplicationEnvTemplate ¶
func (mr *MockApplicationGitRepoMockRecorder) UpdateApplicationEnvTemplate(ctx, application, env, pipelineJSONBlob, applicationJSONBlob interface{}) *gomock.Call
UpdateApplicationEnvTemplate indicates an expected call of UpdateApplicationEnvTemplate.