mocks

package
v0.1.8 Latest Latest
Warning

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

Go to latest
Published: Mar 30, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package mocks 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(arg0 kms.KeyType) (string, interface{}, error)

Create mocks base method.

func (*MockKeyManager) CreateAndExportPubKeyBytes

func (m *MockKeyManager) CreateAndExportPubKeyBytes(arg0 kms.KeyType) (string, []byte, error)

CreateAndExportPubKeyBytes mocks base method.

func (*MockKeyManager) EXPECT

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

func (*MockKeyManager) ExportPubKeyBytes

func (m *MockKeyManager) ExportPubKeyBytes(arg0 string) ([]byte, kms.KeyType, error)

ExportPubKeyBytes mocks base method.

func (*MockKeyManager) Get

func (m *MockKeyManager) Get(arg0 string) (interface{}, error)

Get mocks base method.

func (*MockKeyManager) ImportPrivateKey

func (m *MockKeyManager) ImportPrivateKey(arg0 interface{}, arg1 kms.KeyType, arg2 ...kms.PrivateKeyOpts) (string, interface{}, error)

ImportPrivateKey mocks base method.

func (*MockKeyManager) PubKeyBytesToHandle

func (m *MockKeyManager) PubKeyBytesToHandle(arg0 []byte, arg1 kms.KeyType) (interface{}, error)

PubKeyBytesToHandle mocks base method.

func (*MockKeyManager) Rotate

func (m *MockKeyManager) Rotate(arg0 kms.KeyType, arg1 string) (string, interface{}, error)

Rotate 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(arg0 interface{}) *gomock.Call

Create indicates an expected call of Create.

func (*MockKeyManagerMockRecorder) CreateAndExportPubKeyBytes

func (mr *MockKeyManagerMockRecorder) CreateAndExportPubKeyBytes(arg0 interface{}) *gomock.Call

CreateAndExportPubKeyBytes indicates an expected call of CreateAndExportPubKeyBytes.

func (*MockKeyManagerMockRecorder) ExportPubKeyBytes

func (mr *MockKeyManagerMockRecorder) ExportPubKeyBytes(arg0 interface{}) *gomock.Call

ExportPubKeyBytes indicates an expected call of ExportPubKeyBytes.

func (*MockKeyManagerMockRecorder) Get

func (mr *MockKeyManagerMockRecorder) Get(arg0 interface{}) *gomock.Call

Get indicates an expected call of Get.

func (*MockKeyManagerMockRecorder) ImportPrivateKey

func (mr *MockKeyManagerMockRecorder) ImportPrivateKey(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

ImportPrivateKey indicates an expected call of ImportPrivateKey.

func (*MockKeyManagerMockRecorder) PubKeyBytesToHandle

func (mr *MockKeyManagerMockRecorder) PubKeyBytesToHandle(arg0, arg1 interface{}) *gomock.Call

PubKeyBytesToHandle indicates an expected call of PubKeyBytesToHandle.

func (*MockKeyManagerMockRecorder) Rotate

func (mr *MockKeyManagerMockRecorder) Rotate(arg0, arg1 interface{}) *gomock.Call

Rotate indicates an expected call of Rotate.

type MockProvider

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

MockProvider is a mock of Provider interface.

func NewMockProvider

func NewMockProvider(ctrl *gomock.Controller) *MockProvider

NewMockProvider creates a new mock instance.

func (*MockProvider) EXPECT

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

func (*MockProvider) SecretLock

func (m *MockProvider) SecretLock() secretlock.Service

SecretLock mocks base method.

func (*MockProvider) StorageProvider

func (m *MockProvider) StorageProvider() storage.Provider

StorageProvider mocks base method.

type MockProviderMockRecorder

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

MockProviderMockRecorder is the mock recorder for MockProvider.

func (*MockProviderMockRecorder) SecretLock

func (mr *MockProviderMockRecorder) SecretLock() *gomock.Call

SecretLock indicates an expected call of SecretLock.

func (*MockProviderMockRecorder) StorageProvider

func (mr *MockProviderMockRecorder) StorageProvider() *gomock.Call

StorageProvider indicates an expected call of StorageProvider.

Jump to

Keyboard shortcuts

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