mock_conf_storage

package
v1.4.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 27, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package mock_conf_storage is a generated GoMock package.

Index

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

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

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

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

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL