Documentation ¶
Overview ¶
Package mock_conf_storage is a generated GoMock package.
Index ¶
- type MockStorageOperations
- func (m *MockStorageOperations) Delete(key string) error
- func (m *MockStorageOperations) EXPECT() *MockStorageOperationsMockRecorder
- func (m *MockStorageOperations) Read(key string, chk ...storage.HmacAlgType) ([]byte, []byte, error)
- func (m *MockStorageOperations) Type() storage.StorageType
- func (m *MockStorageOperations) Upload(key string, file []byte, chk ...storage.HmacAlgType) error
- type MockStorageOperationsMockRecorder
- func (mr *MockStorageOperationsMockRecorder) Delete(key interface{}) *gomock.Call
- func (mr *MockStorageOperationsMockRecorder) Read(key interface{}, chk ...interface{}) *gomock.Call
- func (mr *MockStorageOperationsMockRecorder) Type() *gomock.Call
- func (mr *MockStorageOperationsMockRecorder) Upload(key, file interface{}, chk ...interface{}) *gomock.Call
- type MockStorageOperationsWithValidation
- type MockStorageOperationsWithValidationMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockStorageOperations ¶
type MockStorageOperations struct {
// contains filtered or unexported fields
}
MockStorageOperations is a mock of StorageOperations interface.
func NewMockStorageOperations ¶
func NewMockStorageOperations(ctrl *gomock.Controller) *MockStorageOperations
NewMockStorageOperations creates a new mock instance.
func (*MockStorageOperations) Delete ¶
func (m *MockStorageOperations) Delete(key string) error
Delete mocks base method.
func (*MockStorageOperations) EXPECT ¶
func (m *MockStorageOperations) EXPECT() *MockStorageOperationsMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockStorageOperations) Read ¶
func (m *MockStorageOperations) Read(key string, chk ...storage.HmacAlgType) ([]byte, []byte, error)
Read mocks base method.
func (*MockStorageOperations) Type ¶
func (m *MockStorageOperations) Type() storage.StorageType
Type mocks base method.
func (*MockStorageOperations) Upload ¶
func (m *MockStorageOperations) Upload(key string, file []byte, chk ...storage.HmacAlgType) error
Upload mocks base method.
type MockStorageOperationsMockRecorder ¶
type MockStorageOperationsMockRecorder struct {
// contains filtered or unexported fields
}
MockStorageOperationsMockRecorder is the mock recorder for MockStorageOperations.
func (*MockStorageOperationsMockRecorder) Delete ¶
func (mr *MockStorageOperationsMockRecorder) Delete(key interface{}) *gomock.Call
Delete indicates an expected call of Delete.
func (*MockStorageOperationsMockRecorder) Read ¶
func (mr *MockStorageOperationsMockRecorder) Read(key interface{}, chk ...interface{}) *gomock.Call
Read indicates an expected call of Read.
func (*MockStorageOperationsMockRecorder) Type ¶
func (mr *MockStorageOperationsMockRecorder) Type() *gomock.Call
Type indicates an expected call of Type.
func (*MockStorageOperationsMockRecorder) Upload ¶
func (mr *MockStorageOperationsMockRecorder) Upload(key, file interface{}, chk ...interface{}) *gomock.Call
Upload indicates an expected call of Upload.
type MockStorageOperationsWithValidation ¶
type MockStorageOperationsWithValidation struct {
// contains filtered or unexported fields
}
MockStorageOperationsWithValidation is a mock of StorageOperationsWithValidation interface.
func NewMockStorageOperationsWithValidation ¶
func NewMockStorageOperationsWithValidation(ctrl *gomock.Controller) *MockStorageOperationsWithValidation
NewMockStorageOperationsWithValidation creates a new mock instance.
func (*MockStorageOperationsWithValidation) EXPECT ¶
func (m *MockStorageOperationsWithValidation) EXPECT() *MockStorageOperationsWithValidationMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockStorageOperationsWithValidation) Validate ¶
func (m *MockStorageOperationsWithValidation) Validate(data []byte, sum string, chk ...storage.HmacAlgType) bool
Validate mocks base method.
type MockStorageOperationsWithValidationMockRecorder ¶
type MockStorageOperationsWithValidationMockRecorder struct {
// contains filtered or unexported fields
}
MockStorageOperationsWithValidationMockRecorder is the mock recorder for MockStorageOperationsWithValidation.
func (*MockStorageOperationsWithValidationMockRecorder) Validate ¶
func (mr *MockStorageOperationsWithValidationMockRecorder) Validate(data, sum interface{}, chk ...interface{}) *gomock.Call
Validate indicates an expected call of Validate.