mock

package
v0.0.0-...-084323b Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package mock is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockKeyManager

type MockKeyManager struct {
	// contains filtered or unexported fields
}

MockKeyManager is a mock of KeyManager interface

func NewMockKeyManager

func NewMockKeyManager(ctrl *gomock.Controller) *MockKeyManager

NewMockKeyManager creates a new mock instance

func (*MockKeyManager) Create

func (m *MockKeyManager) Create(ctx context.Context) (string, error)

Create mocks base method

func (*MockKeyManager) Decrypt

func (m *MockKeyManager) Decrypt(ctx context.Context, key string, data []byte) ([]byte, error)

Decrypt mocks base method

func (*MockKeyManager) EXPECT

EXPECT returns an object that allows the caller to indicate expected use

func (*MockKeyManager) Encrypt

func (m *MockKeyManager) Encrypt(ctx context.Context, key string, data []byte) ([]byte, error)

Encrypt mocks base method

type MockKeyManagerMockRecorder

type MockKeyManagerMockRecorder struct {
	// contains filtered or unexported fields
}

MockKeyManagerMockRecorder is the mock recorder for MockKeyManager

func (*MockKeyManagerMockRecorder) Create

func (mr *MockKeyManagerMockRecorder) Create(ctx interface{}) *gomock.Call

Create indicates an expected call of Create

func (*MockKeyManagerMockRecorder) Decrypt

func (mr *MockKeyManagerMockRecorder) Decrypt(ctx, key, data interface{}) *gomock.Call

Decrypt indicates an expected call of Decrypt

func (*MockKeyManagerMockRecorder) Encrypt

func (mr *MockKeyManagerMockRecorder) Encrypt(ctx, key, data interface{}) *gomock.Call

Encrypt indicates an expected call of Encrypt

type MockLogMetadataManager

type MockLogMetadataManager struct {
	// contains filtered or unexported fields
}

MockLogMetadataManager is a mock of LogMetadataManager interface

func NewMockLogMetadataManager

func NewMockLogMetadataManager(ctrl *gomock.Controller) *MockLogMetadataManager

NewMockLogMetadataManager creates a new mock instance

func (*MockLogMetadataManager) Create

Create mocks base method

func (*MockLogMetadataManager) EXPECT

EXPECT returns an object that allows the caller to indicate expected use

func (*MockLogMetadataManager) Get

Get mocks base method

type MockLogMetadataManagerMockRecorder

type MockLogMetadataManagerMockRecorder struct {
	// contains filtered or unexported fields
}

MockLogMetadataManagerMockRecorder is the mock recorder for MockLogMetadataManager

func (*MockLogMetadataManagerMockRecorder) Create

func (mr *MockLogMetadataManagerMockRecorder) Create(ctx, log interface{}) *gomock.Call

Create indicates an expected call of Create

func (*MockLogMetadataManagerMockRecorder) Get

func (mr *MockLogMetadataManagerMockRecorder) Get(ctx, id interface{}) *gomock.Call

Get indicates an expected call of Get

Jump to

Keyboard shortcuts

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