Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockKeyManager
- func (m *MockKeyManager) Create(arg0 kms.KeyType) (string, interface{}, error)
- func (m *MockKeyManager) CreateAndExportPubKeyBytes(arg0 kms.KeyType) (string, []byte, error)
- func (m *MockKeyManager) EXPECT() *MockKeyManagerMockRecorder
- func (m *MockKeyManager) ExportPubKeyBytes(arg0 string) ([]byte, kms.KeyType, error)
- func (m *MockKeyManager) Get(arg0 string) (interface{}, error)
- func (m *MockKeyManager) ImportPrivateKey(arg0 interface{}, arg1 kms.KeyType, arg2 ...kms.PrivateKeyOpts) (string, interface{}, error)
- func (m *MockKeyManager) PubKeyBytesToHandle(arg0 []byte, arg1 kms.KeyType) (interface{}, error)
- func (m *MockKeyManager) Rotate(arg0 kms.KeyType, arg1 string) (string, interface{}, error)
- type MockKeyManagerMockRecorder
- func (mr *MockKeyManagerMockRecorder) Create(arg0 interface{}) *gomock.Call
- func (mr *MockKeyManagerMockRecorder) CreateAndExportPubKeyBytes(arg0 interface{}) *gomock.Call
- func (mr *MockKeyManagerMockRecorder) ExportPubKeyBytes(arg0 interface{}) *gomock.Call
- func (mr *MockKeyManagerMockRecorder) Get(arg0 interface{}) *gomock.Call
- func (mr *MockKeyManagerMockRecorder) ImportPrivateKey(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockKeyManagerMockRecorder) PubKeyBytesToHandle(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockKeyManagerMockRecorder) Rotate(arg0, arg1 interface{}) *gomock.Call
- type MockProvider
- type MockProviderMockRecorder
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 ¶
CreateAndExportPubKeyBytes mocks base method.
func (*MockKeyManager) EXPECT ¶
func (m *MockKeyManager) EXPECT() *MockKeyManagerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockKeyManager) ExportPubKeyBytes ¶
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.
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 ¶
func (m *MockProvider) EXPECT() *MockProviderMockRecorder
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.