Documentation ¶
Overview ¶
Package mock_api is a generated GoMock package.
Index ¶
- type MockStore
- func (m *MockStore) CompleteUpload(uploadID, errorMessage string) error
- func (m *MockStore) CreateTranslation(t *model.Translation) error
- func (m *MockStore) CreateUpload(id string, archiveType model.BackupType) error
- func (m *MockStore) EXPECT() *MockStoreMockRecorder
- func (m *MockStore) GetAllImports() ([]*model.Import, error)
- func (m *MockStore) GetAllTranslations() ([]*model.Translation, error)
- func (m *MockStore) GetAndClaimNextReadyImport(provisionerID string) (*model.Import, error)
- func (m *MockStore) GetImport(id string) (*model.Import, error)
- func (m *MockStore) GetImportsByInstallation(id string) ([]*model.Import, error)
- func (m *MockStore) GetImportsByTranslation(id string) ([]*model.Import, error)
- func (m *MockStore) GetImportsInProgress() ([]*model.Import, error)
- func (m *MockStore) GetTranslation(id string) (*model.Translation, error)
- func (m *MockStore) GetTranslationsByInstallation(id string) ([]*model.Translation, error)
- func (m *MockStore) GetUpload(id string) (*model.Upload, error)
- func (m *MockStore) UpdateImport(imp *model.Import) error
- func (m *MockStore) UpdateTranslation(t *model.Translation) error
- type MockStoreMockRecorder
- func (mr *MockStoreMockRecorder) CompleteUpload(uploadID, errorMessage interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) CreateTranslation(t interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) CreateUpload(id, archiveType interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) GetAllImports() *gomock.Call
- func (mr *MockStoreMockRecorder) GetAllTranslations() *gomock.Call
- func (mr *MockStoreMockRecorder) GetAndClaimNextReadyImport(provisionerID interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) GetImport(id interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) GetImportsByInstallation(id interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) GetImportsByTranslation(id interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) GetImportsInProgress() *gomock.Call
- func (mr *MockStoreMockRecorder) GetTranslation(id interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) GetTranslationsByInstallation(id interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) GetUpload(id interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) UpdateImport(imp interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) UpdateTranslation(t interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockStore ¶
type MockStore struct {
// contains filtered or unexported fields
}
MockStore is a mock of Store interface.
func NewMockStore ¶
func NewMockStore(ctrl *gomock.Controller) *MockStore
NewMockStore creates a new mock instance.
func (*MockStore) CompleteUpload ¶
CompleteUpload mocks base method.
func (*MockStore) CreateTranslation ¶ added in v0.2.0
func (m *MockStore) CreateTranslation(t *model.Translation) error
CreateTranslation mocks base method.
func (*MockStore) CreateUpload ¶
func (m *MockStore) CreateUpload(id string, archiveType model.BackupType) error
CreateUpload mocks base method.
func (*MockStore) EXPECT ¶
func (m *MockStore) EXPECT() *MockStoreMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockStore) GetAllImports ¶
GetAllImports mocks base method.
func (*MockStore) GetAllTranslations ¶
func (m *MockStore) GetAllTranslations() ([]*model.Translation, error)
GetAllTranslations mocks base method.
func (*MockStore) GetAndClaimNextReadyImport ¶
GetAndClaimNextReadyImport mocks base method.
func (*MockStore) GetImportsByInstallation ¶
GetImportsByInstallation mocks base method.
func (*MockStore) GetImportsByTranslation ¶
GetImportsByTranslation mocks base method.
func (*MockStore) GetImportsInProgress ¶
GetImportsInProgress mocks base method.
func (*MockStore) GetTranslation ¶
func (m *MockStore) GetTranslation(id string) (*model.Translation, error)
GetTranslation mocks base method.
func (*MockStore) GetTranslationsByInstallation ¶
func (m *MockStore) GetTranslationsByInstallation(id string) ([]*model.Translation, error)
GetTranslationsByInstallation mocks base method.
func (*MockStore) UpdateImport ¶
UpdateImport mocks base method.
func (*MockStore) UpdateTranslation ¶
func (m *MockStore) UpdateTranslation(t *model.Translation) error
UpdateTranslation mocks base method.
type MockStoreMockRecorder ¶
type MockStoreMockRecorder struct {
// contains filtered or unexported fields
}
MockStoreMockRecorder is the mock recorder for MockStore.
func (*MockStoreMockRecorder) CompleteUpload ¶
func (mr *MockStoreMockRecorder) CompleteUpload(uploadID, errorMessage interface{}) *gomock.Call
CompleteUpload indicates an expected call of CompleteUpload.
func (*MockStoreMockRecorder) CreateTranslation ¶ added in v0.2.0
func (mr *MockStoreMockRecorder) CreateTranslation(t interface{}) *gomock.Call
CreateTranslation indicates an expected call of CreateTranslation.
func (*MockStoreMockRecorder) CreateUpload ¶
func (mr *MockStoreMockRecorder) CreateUpload(id, archiveType interface{}) *gomock.Call
CreateUpload indicates an expected call of CreateUpload.
func (*MockStoreMockRecorder) GetAllImports ¶
func (mr *MockStoreMockRecorder) GetAllImports() *gomock.Call
GetAllImports indicates an expected call of GetAllImports.
func (*MockStoreMockRecorder) GetAllTranslations ¶
func (mr *MockStoreMockRecorder) GetAllTranslations() *gomock.Call
GetAllTranslations indicates an expected call of GetAllTranslations.
func (*MockStoreMockRecorder) GetAndClaimNextReadyImport ¶
func (mr *MockStoreMockRecorder) GetAndClaimNextReadyImport(provisionerID interface{}) *gomock.Call
GetAndClaimNextReadyImport indicates an expected call of GetAndClaimNextReadyImport.
func (*MockStoreMockRecorder) GetImport ¶
func (mr *MockStoreMockRecorder) GetImport(id interface{}) *gomock.Call
GetImport indicates an expected call of GetImport.
func (*MockStoreMockRecorder) GetImportsByInstallation ¶
func (mr *MockStoreMockRecorder) GetImportsByInstallation(id interface{}) *gomock.Call
GetImportsByInstallation indicates an expected call of GetImportsByInstallation.
func (*MockStoreMockRecorder) GetImportsByTranslation ¶
func (mr *MockStoreMockRecorder) GetImportsByTranslation(id interface{}) *gomock.Call
GetImportsByTranslation indicates an expected call of GetImportsByTranslation.
func (*MockStoreMockRecorder) GetImportsInProgress ¶
func (mr *MockStoreMockRecorder) GetImportsInProgress() *gomock.Call
GetImportsInProgress indicates an expected call of GetImportsInProgress.
func (*MockStoreMockRecorder) GetTranslation ¶
func (mr *MockStoreMockRecorder) GetTranslation(id interface{}) *gomock.Call
GetTranslation indicates an expected call of GetTranslation.
func (*MockStoreMockRecorder) GetTranslationsByInstallation ¶
func (mr *MockStoreMockRecorder) GetTranslationsByInstallation(id interface{}) *gomock.Call
GetTranslationsByInstallation indicates an expected call of GetTranslationsByInstallation.
func (*MockStoreMockRecorder) GetUpload ¶
func (mr *MockStoreMockRecorder) GetUpload(id interface{}) *gomock.Call
GetUpload indicates an expected call of GetUpload.
func (*MockStoreMockRecorder) UpdateImport ¶
func (mr *MockStoreMockRecorder) UpdateImport(imp interface{}) *gomock.Call
UpdateImport indicates an expected call of UpdateImport.
func (*MockStoreMockRecorder) UpdateTranslation ¶
func (mr *MockStoreMockRecorder) UpdateTranslation(t interface{}) *gomock.Call
UpdateTranslation indicates an expected call of UpdateTranslation.