mock

package
v0.0.0-...-f5bbbf4 Latest Latest
Warning

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

Go to latest
Published: May 2, 2023 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Overview

Package mock is a generated GoMock package.

Package mock is a generated GoMock package.

Package mock is a generated GoMock package.

Package mock is a generated GoMock package.

Package mock is a generated GoMock package.

Package mock is a generated GoMock package.

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 MockEthStore

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

MockEthStore is a mock of EthStore interface

func NewMockEthStore

func NewMockEthStore(ctrl *gomock.Controller) *MockEthStore

NewMockEthStore creates a new mock instance

func (*MockEthStore) Create

Create mocks base method

func (*MockEthStore) Decrypt

func (m *MockEthStore) Decrypt(ctx context.Context, addr common.Address, data []byte) ([]byte, error)

Decrypt mocks base method

func (*MockEthStore) Delete

func (m *MockEthStore) Delete(ctx context.Context, addr common.Address) error

Delete mocks base method

func (*MockEthStore) Destroy

func (m *MockEthStore) Destroy(ctx context.Context, addr common.Address) error

Destroy mocks base method

func (*MockEthStore) EXPECT

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

func (*MockEthStore) Encrypt

func (m *MockEthStore) Encrypt(ctx context.Context, addr common.Address, data []byte) ([]byte, error)

Encrypt mocks base method

func (*MockEthStore) Get

Get mocks base method

func (*MockEthStore) GetDeleted

func (m *MockEthStore) GetDeleted(ctx context.Context, addr common.Address) (*entities.ETHAccount, error)

GetDeleted mocks base method

func (*MockEthStore) Import

func (m *MockEthStore) Import(ctx context.Context, id string, privKey []byte, attr *entities.Attributes) (*entities.ETHAccount, error)

Import mocks base method

func (*MockEthStore) List

func (m *MockEthStore) List(ctx context.Context, limit, offset uint64) ([]common.Address, error)

List mocks base method

func (*MockEthStore) ListDeleted

func (m *MockEthStore) ListDeleted(ctx context.Context, limit, offset uint64) ([]common.Address, error)

ListDeleted mocks base method

func (*MockEthStore) Restore

func (m *MockEthStore) Restore(ctx context.Context, addr common.Address) error

Restore mocks base method

func (*MockEthStore) Sign

func (m *MockEthStore) Sign(ctx context.Context, addr common.Address, data []byte) ([]byte, error)

Sign mocks base method

func (*MockEthStore) SignEEA

func (m *MockEthStore) SignEEA(ctx context.Context, addr common.Address, chainID *big.Int, tx *types0.Transaction, args *ethereum.PrivateArgs) ([]byte, error)

SignEEA mocks base method

func (*MockEthStore) SignMessage

func (m *MockEthStore) SignMessage(ctx context.Context, addr common.Address, data []byte) ([]byte, error)

SignMessage mocks base method

func (*MockEthStore) SignPrivate

func (m *MockEthStore) SignPrivate(ctx context.Context, addr common.Address, tx *types.Transaction) ([]byte, error)

SignPrivate mocks base method

func (*MockEthStore) SignTransaction

func (m *MockEthStore) SignTransaction(ctx context.Context, addr common.Address, chainID *big.Int, tx *types0.Transaction) ([]byte, error)

SignTransaction mocks base method

func (*MockEthStore) SignTypedData

func (m *MockEthStore) SignTypedData(ctx context.Context, addr common.Address, typedData *core.TypedData) ([]byte, error)

SignTypedData mocks base method

func (*MockEthStore) Update

Update mocks base method

type MockEthStoreMockRecorder

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

MockEthStoreMockRecorder is the mock recorder for MockEthStore

func (*MockEthStoreMockRecorder) Create

func (mr *MockEthStoreMockRecorder) Create(ctx, id, attr interface{}) *gomock.Call

Create indicates an expected call of Create

func (*MockEthStoreMockRecorder) Decrypt

func (mr *MockEthStoreMockRecorder) Decrypt(ctx, addr, data interface{}) *gomock.Call

Decrypt indicates an expected call of Decrypt

func (*MockEthStoreMockRecorder) Delete

func (mr *MockEthStoreMockRecorder) Delete(ctx, addr interface{}) *gomock.Call

Delete indicates an expected call of Delete

func (*MockEthStoreMockRecorder) Destroy

func (mr *MockEthStoreMockRecorder) Destroy(ctx, addr interface{}) *gomock.Call

Destroy indicates an expected call of Destroy

func (*MockEthStoreMockRecorder) Encrypt

func (mr *MockEthStoreMockRecorder) Encrypt(ctx, addr, data interface{}) *gomock.Call

Encrypt indicates an expected call of Encrypt

func (*MockEthStoreMockRecorder) Get

func (mr *MockEthStoreMockRecorder) Get(ctx, addr interface{}) *gomock.Call

Get indicates an expected call of Get

func (*MockEthStoreMockRecorder) GetDeleted

func (mr *MockEthStoreMockRecorder) GetDeleted(ctx, addr interface{}) *gomock.Call

GetDeleted indicates an expected call of GetDeleted

func (*MockEthStoreMockRecorder) Import

func (mr *MockEthStoreMockRecorder) Import(ctx, id, privKey, attr interface{}) *gomock.Call

Import indicates an expected call of Import

func (*MockEthStoreMockRecorder) List

func (mr *MockEthStoreMockRecorder) List(ctx, limit, offset interface{}) *gomock.Call

List indicates an expected call of List

func (*MockEthStoreMockRecorder) ListDeleted

func (mr *MockEthStoreMockRecorder) ListDeleted(ctx, limit, offset interface{}) *gomock.Call

ListDeleted indicates an expected call of ListDeleted

func (*MockEthStoreMockRecorder) Restore

func (mr *MockEthStoreMockRecorder) Restore(ctx, addr interface{}) *gomock.Call

Restore indicates an expected call of Restore

func (*MockEthStoreMockRecorder) Sign

func (mr *MockEthStoreMockRecorder) Sign(ctx, addr, data interface{}) *gomock.Call

Sign indicates an expected call of Sign

func (*MockEthStoreMockRecorder) SignEEA

func (mr *MockEthStoreMockRecorder) SignEEA(ctx, addr, chainID, tx, args interface{}) *gomock.Call

SignEEA indicates an expected call of SignEEA

func (*MockEthStoreMockRecorder) SignMessage

func (mr *MockEthStoreMockRecorder) SignMessage(ctx, addr, data interface{}) *gomock.Call

SignMessage indicates an expected call of SignMessage

func (*MockEthStoreMockRecorder) SignPrivate

func (mr *MockEthStoreMockRecorder) SignPrivate(ctx, addr, tx interface{}) *gomock.Call

SignPrivate indicates an expected call of SignPrivate

func (*MockEthStoreMockRecorder) SignTransaction

func (mr *MockEthStoreMockRecorder) SignTransaction(ctx, addr, chainID, tx interface{}) *gomock.Call

SignTransaction indicates an expected call of SignTransaction

func (*MockEthStoreMockRecorder) SignTypedData

func (mr *MockEthStoreMockRecorder) SignTypedData(ctx, addr, typedData interface{}) *gomock.Call

SignTypedData indicates an expected call of SignTypedData

func (*MockEthStoreMockRecorder) Update

func (mr *MockEthStoreMockRecorder) Update(ctx, addr, attr interface{}) *gomock.Call

Update indicates an expected call of Update

type MockKeyStore

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

MockKeyStore is a mock of KeyStore interface

func NewMockKeyStore

func NewMockKeyStore(ctrl *gomock.Controller) *MockKeyStore

NewMockKeyStore creates a new mock instance

func (*MockKeyStore) Create

Create mocks base method

func (*MockKeyStore) Decrypt

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

Decrypt mocks base method

func (*MockKeyStore) Delete

func (m *MockKeyStore) Delete(ctx context.Context, id string) error

Delete mocks base method

func (*MockKeyStore) Destroy

func (m *MockKeyStore) Destroy(ctx context.Context, id string) error

Destroy mocks base method

func (*MockKeyStore) EXPECT

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

func (*MockKeyStore) Encrypt

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

Encrypt mocks base method

func (*MockKeyStore) Get

func (m *MockKeyStore) Get(ctx context.Context, id string) (*entities.Key, error)

Get mocks base method

func (*MockKeyStore) GetDeleted

func (m *MockKeyStore) GetDeleted(ctx context.Context, id string) (*entities.Key, error)

GetDeleted mocks base method

func (*MockKeyStore) Import

func (m *MockKeyStore) Import(ctx context.Context, id string, privKey []byte, alg *entities2.Algorithm, attr *entities.Attributes) (*entities.Key, error)

Import mocks base method

func (*MockKeyStore) List

func (m *MockKeyStore) List(ctx context.Context, limit, offset uint64) ([]string, error)

List mocks base method

func (*MockKeyStore) ListDeleted

func (m *MockKeyStore) ListDeleted(ctx context.Context, limit, offset uint64) ([]string, error)

ListDeleted mocks base method

func (*MockKeyStore) Restore

func (m *MockKeyStore) Restore(ctx context.Context, id string) error

Restore mocks base method

func (*MockKeyStore) Sign

func (m *MockKeyStore) Sign(ctx context.Context, id string, data []byte, algo *entities2.Algorithm) ([]byte, error)

Sign mocks base method

func (*MockKeyStore) Update

func (m *MockKeyStore) Update(ctx context.Context, id string, attr *entities.Attributes) (*entities.Key, error)

Update mocks base method

type MockKeyStoreMockRecorder

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

MockKeyStoreMockRecorder is the mock recorder for MockKeyStore

func (*MockKeyStoreMockRecorder) Create

func (mr *MockKeyStoreMockRecorder) Create(ctx, id, alg, attr interface{}) *gomock.Call

Create indicates an expected call of Create

func (*MockKeyStoreMockRecorder) Decrypt

func (mr *MockKeyStoreMockRecorder) Decrypt(ctx, id, data interface{}) *gomock.Call

Decrypt indicates an expected call of Decrypt

func (*MockKeyStoreMockRecorder) Delete

func (mr *MockKeyStoreMockRecorder) Delete(ctx, id interface{}) *gomock.Call

Delete indicates an expected call of Delete

func (*MockKeyStoreMockRecorder) Destroy

func (mr *MockKeyStoreMockRecorder) Destroy(ctx, id interface{}) *gomock.Call

Destroy indicates an expected call of Destroy

func (*MockKeyStoreMockRecorder) Encrypt

func (mr *MockKeyStoreMockRecorder) Encrypt(ctx, id, data interface{}) *gomock.Call

Encrypt indicates an expected call of Encrypt

func (*MockKeyStoreMockRecorder) Get

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

Get indicates an expected call of Get

func (*MockKeyStoreMockRecorder) GetDeleted

func (mr *MockKeyStoreMockRecorder) GetDeleted(ctx, id interface{}) *gomock.Call

GetDeleted indicates an expected call of GetDeleted

func (*MockKeyStoreMockRecorder) Import

func (mr *MockKeyStoreMockRecorder) Import(ctx, id, privKey, alg, attr interface{}) *gomock.Call

Import indicates an expected call of Import

func (*MockKeyStoreMockRecorder) List

func (mr *MockKeyStoreMockRecorder) List(ctx, limit, offset interface{}) *gomock.Call

List indicates an expected call of List

func (*MockKeyStoreMockRecorder) ListDeleted

func (mr *MockKeyStoreMockRecorder) ListDeleted(ctx, limit, offset interface{}) *gomock.Call

ListDeleted indicates an expected call of ListDeleted

func (*MockKeyStoreMockRecorder) Restore

func (mr *MockKeyStoreMockRecorder) Restore(ctx, id interface{}) *gomock.Call

Restore indicates an expected call of Restore

func (*MockKeyStoreMockRecorder) Sign

func (mr *MockKeyStoreMockRecorder) Sign(ctx, id, data, algo interface{}) *gomock.Call

Sign indicates an expected call of Sign

func (*MockKeyStoreMockRecorder) Update

func (mr *MockKeyStoreMockRecorder) Update(ctx, id, attr interface{}) *gomock.Call

Update indicates an expected call of Update

type MockManager

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

MockManager is a mock of Manager interface

func NewMockManager

func NewMockManager(ctrl *gomock.Controller) *MockManager

NewMockManager creates a new mock instance

func (*MockManager) EXPECT

func (m *MockManager) EXPECT() *MockManagerMockRecorder

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

func (*MockManager) Stores

func (m *MockManager) Stores() stores.Stores

Stores mocks base method

type MockManagerMockRecorder

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

MockManagerMockRecorder is the mock recorder for MockManager

func (*MockManagerMockRecorder) Stores

func (mr *MockManagerMockRecorder) Stores() *gomock.Call

Stores indicates an expected call of Stores

type MockSecretStore

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

MockSecretStore is a mock of SecretStore interface

func NewMockSecretStore

func NewMockSecretStore(ctrl *gomock.Controller) *MockSecretStore

NewMockSecretStore creates a new mock instance

func (*MockSecretStore) Delete

func (m *MockSecretStore) Delete(ctx context.Context, id string) error

Delete mocks base method

func (*MockSecretStore) Destroy

func (m *MockSecretStore) Destroy(ctx context.Context, id string) error

Destroy mocks base method

func (*MockSecretStore) EXPECT

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

func (*MockSecretStore) Get

func (m *MockSecretStore) Get(ctx context.Context, id, version string) (*entities.Secret, error)

Get mocks base method

func (*MockSecretStore) GetDeleted

func (m *MockSecretStore) GetDeleted(ctx context.Context, id string) (*entities.Secret, error)

GetDeleted mocks base method

func (*MockSecretStore) List

func (m *MockSecretStore) List(ctx context.Context, limit, offset uint64) ([]string, error)

List mocks base method

func (*MockSecretStore) ListDeleted

func (m *MockSecretStore) ListDeleted(ctx context.Context, limit, offset uint64) ([]string, error)

ListDeleted mocks base method

func (*MockSecretStore) Restore

func (m *MockSecretStore) Restore(ctx context.Context, id string) error

Restore mocks base method

func (*MockSecretStore) Set

func (m *MockSecretStore) Set(ctx context.Context, id, value string, attr *entities.Attributes) (*entities.Secret, error)

Set mocks base method

type MockSecretStoreMockRecorder

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

MockSecretStoreMockRecorder is the mock recorder for MockSecretStore

func (*MockSecretStoreMockRecorder) Delete

func (mr *MockSecretStoreMockRecorder) Delete(ctx, id interface{}) *gomock.Call

Delete indicates an expected call of Delete

func (*MockSecretStoreMockRecorder) Destroy

func (mr *MockSecretStoreMockRecorder) Destroy(ctx, id interface{}) *gomock.Call

Destroy indicates an expected call of Destroy

func (*MockSecretStoreMockRecorder) Get

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

Get indicates an expected call of Get

func (*MockSecretStoreMockRecorder) GetDeleted

func (mr *MockSecretStoreMockRecorder) GetDeleted(ctx, id interface{}) *gomock.Call

GetDeleted indicates an expected call of GetDeleted

func (*MockSecretStoreMockRecorder) List

func (mr *MockSecretStoreMockRecorder) List(ctx, limit, offset interface{}) *gomock.Call

List indicates an expected call of List

func (*MockSecretStoreMockRecorder) ListDeleted

func (mr *MockSecretStoreMockRecorder) ListDeleted(ctx, limit, offset interface{}) *gomock.Call

ListDeleted indicates an expected call of ListDeleted

func (*MockSecretStoreMockRecorder) Restore

func (mr *MockSecretStoreMockRecorder) Restore(ctx, id interface{}) *gomock.Call

Restore indicates an expected call of Restore

func (*MockSecretStoreMockRecorder) Set

func (mr *MockSecretStoreMockRecorder) Set(ctx, id, value, attr interface{}) *gomock.Call

Set indicates an expected call of Set

type MockStores

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

MockStores is a mock of Stores interface

func NewMockStores

func NewMockStores(ctrl *gomock.Controller) *MockStores

NewMockStores creates a new mock instance

func (*MockStores) CreateEthereum

func (m *MockStores) CreateEthereum(arg0 context.Context, name, keyStore string, allowedTenants []string, userInfo *entities.UserInfo) error

CreateEthereum mocks base method

func (*MockStores) CreateKey

func (m *MockStores) CreateKey(arg0 context.Context, name, vault, secretStore string, allowedTenants []string, userInfo *entities.UserInfo) error

CreateKey mocks base method

func (*MockStores) CreateSecret

func (m *MockStores) CreateSecret(arg0 context.Context, name, vault string, allowedTenants []string, userInfo *entities.UserInfo) error

CreateSecret mocks base method

func (*MockStores) EXPECT

func (m *MockStores) EXPECT() *MockStoresMockRecorder

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

func (*MockStores) Ethereum

func (m *MockStores) Ethereum(ctx context.Context, storeName string, userInfo *entities.UserInfo) (stores.EthStore, error)

Ethereum mocks base method

func (*MockStores) EthereumByAddr

func (m *MockStores) EthereumByAddr(ctx context.Context, addr common.Address, userInfo *entities.UserInfo) (stores.EthStore, error)

EthereumByAddr mocks base method

func (*MockStores) ImportEthereum

func (m *MockStores) ImportEthereum(ctx context.Context, name string, userInfo *entities.UserInfo) error

ImportEthereum mocks base method

func (*MockStores) ImportKeys

func (m *MockStores) ImportKeys(ctx context.Context, storeName string, userInfo *entities.UserInfo) error

ImportKeys mocks base method

func (*MockStores) ImportSecrets

func (m *MockStores) ImportSecrets(ctx context.Context, storeName string, userInfo *entities.UserInfo) error

ImportSecrets mocks base method

func (*MockStores) Key

func (m *MockStores) Key(ctx context.Context, storeName string, userInfo *entities.UserInfo) (stores.KeyStore, error)

Key mocks base method

func (*MockStores) List

func (m *MockStores) List(ctx context.Context, storeType string, userInfo *entities.UserInfo) ([]string, error)

List mocks base method

func (*MockStores) ListAllAccounts

func (m *MockStores) ListAllAccounts(ctx context.Context, userInfo *entities.UserInfo) ([]common.Address, error)

ListAllAccounts mocks base method

func (*MockStores) Secret

func (m *MockStores) Secret(ctx context.Context, storeName string, userInfo *entities.UserInfo) (stores.SecretStore, error)

Secret mocks base method

type MockStoresMockRecorder

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

MockStoresMockRecorder is the mock recorder for MockStores

func (*MockStoresMockRecorder) CreateEthereum

func (mr *MockStoresMockRecorder) CreateEthereum(arg0, name, keyStore, allowedTenants, userInfo interface{}) *gomock.Call

CreateEthereum indicates an expected call of CreateEthereum

func (*MockStoresMockRecorder) CreateKey

func (mr *MockStoresMockRecorder) CreateKey(arg0, name, vault, secretStore, allowedTenants, userInfo interface{}) *gomock.Call

CreateKey indicates an expected call of CreateKey

func (*MockStoresMockRecorder) CreateSecret

func (mr *MockStoresMockRecorder) CreateSecret(arg0, name, vault, allowedTenants, userInfo interface{}) *gomock.Call

CreateSecret indicates an expected call of CreateSecret

func (*MockStoresMockRecorder) Ethereum

func (mr *MockStoresMockRecorder) Ethereum(ctx, storeName, userInfo interface{}) *gomock.Call

Ethereum indicates an expected call of Ethereum

func (*MockStoresMockRecorder) EthereumByAddr

func (mr *MockStoresMockRecorder) EthereumByAddr(ctx, addr, userInfo interface{}) *gomock.Call

EthereumByAddr indicates an expected call of EthereumByAddr

func (*MockStoresMockRecorder) ImportEthereum

func (mr *MockStoresMockRecorder) ImportEthereum(ctx, name, userInfo interface{}) *gomock.Call

ImportEthereum indicates an expected call of ImportEthereum

func (*MockStoresMockRecorder) ImportKeys

func (mr *MockStoresMockRecorder) ImportKeys(ctx, storeName, userInfo interface{}) *gomock.Call

ImportKeys indicates an expected call of ImportKeys

func (*MockStoresMockRecorder) ImportSecrets

func (mr *MockStoresMockRecorder) ImportSecrets(ctx, storeName, userInfo interface{}) *gomock.Call

ImportSecrets indicates an expected call of ImportSecrets

func (*MockStoresMockRecorder) Key

func (mr *MockStoresMockRecorder) Key(ctx, storeName, userInfo interface{}) *gomock.Call

Key indicates an expected call of Key

func (*MockStoresMockRecorder) List

func (mr *MockStoresMockRecorder) List(ctx, storeType, userInfo interface{}) *gomock.Call

List indicates an expected call of List

func (*MockStoresMockRecorder) ListAllAccounts

func (mr *MockStoresMockRecorder) ListAllAccounts(ctx, userInfo interface{}) *gomock.Call

ListAllAccounts indicates an expected call of ListAllAccounts

func (*MockStoresMockRecorder) Secret

func (mr *MockStoresMockRecorder) Secret(ctx, storeName, userInfo interface{}) *gomock.Call

Secret indicates an expected call of Secret

type MockUtils

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

MockUtils is a mock of Utils interface

func NewMockUtils

func NewMockUtils(ctrl *gomock.Controller) *MockUtils

NewMockUtils creates a new mock instance

func (*MockUtils) ECRecover

func (m *MockUtils) ECRecover(data, sig []byte) (common.Address, error)

ECRecover mocks base method

func (*MockUtils) EXPECT

func (m *MockUtils) EXPECT() *MockUtilsMockRecorder

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

func (*MockUtils) Verify

func (m *MockUtils) Verify(pubKey, data, sig []byte, algo *entities.Algorithm) error

Verify mocks base method

func (*MockUtils) VerifyMessage

func (m *MockUtils) VerifyMessage(addr common.Address, data, sig []byte) error

VerifyMessage mocks base method

func (*MockUtils) VerifyTypedData

func (m *MockUtils) VerifyTypedData(addr common.Address, typedData *core.TypedData, sig []byte) error

VerifyTypedData mocks base method

type MockUtilsMockRecorder

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

MockUtilsMockRecorder is the mock recorder for MockUtils

func (*MockUtilsMockRecorder) ECRecover

func (mr *MockUtilsMockRecorder) ECRecover(data, sig interface{}) *gomock.Call

ECRecover indicates an expected call of ECRecover

func (*MockUtilsMockRecorder) Verify

func (mr *MockUtilsMockRecorder) Verify(pubKey, data, sig, algo interface{}) *gomock.Call

Verify indicates an expected call of Verify

func (*MockUtilsMockRecorder) VerifyMessage

func (mr *MockUtilsMockRecorder) VerifyMessage(addr, data, sig interface{}) *gomock.Call

VerifyMessage indicates an expected call of VerifyMessage

func (*MockUtilsMockRecorder) VerifyTypedData

func (mr *MockUtilsMockRecorder) VerifyTypedData(addr, typedData, sig interface{}) *gomock.Call

VerifyTypedData indicates an expected call of VerifyTypedData

type MockVaults

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

MockVaults is a mock of Vaults interface

func NewMockVaults

func NewMockVaults(ctrl *gomock.Controller) *MockVaults

NewMockVaults creates a new mock instance

func (*MockVaults) CreateAWS

func (m *MockVaults) CreateAWS(ctx context.Context, name string, config *entities.AWSConfig) error

CreateAWS mocks base method

func (*MockVaults) CreateAzure

func (m *MockVaults) CreateAzure(ctx context.Context, name string, config *entities.AzureConfig) error

CreateAzure mocks base method

func (*MockVaults) CreateHashicorp

func (m *MockVaults) CreateHashicorp(ctx context.Context, name string, config *entities.HashicorpConfig) error

CreateHashicorp mocks base method

func (*MockVaults) EXPECT

func (m *MockVaults) EXPECT() *MockVaultsMockRecorder

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

func (*MockVaults) Get

func (m *MockVaults) Get(ctx context.Context, name string) (*entities.Vault, error)

Get mocks base method

type MockVaultsMockRecorder

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

MockVaultsMockRecorder is the mock recorder for MockVaults

func (*MockVaultsMockRecorder) CreateAWS

func (mr *MockVaultsMockRecorder) CreateAWS(ctx, name, config interface{}) *gomock.Call

CreateAWS indicates an expected call of CreateAWS

func (*MockVaultsMockRecorder) CreateAzure

func (mr *MockVaultsMockRecorder) CreateAzure(ctx, name, config interface{}) *gomock.Call

CreateAzure indicates an expected call of CreateAzure

func (*MockVaultsMockRecorder) CreateHashicorp

func (mr *MockVaultsMockRecorder) CreateHashicorp(ctx, name, config interface{}) *gomock.Call

CreateHashicorp indicates an expected call of CreateHashicorp

func (*MockVaultsMockRecorder) Get

func (mr *MockVaultsMockRecorder) Get(ctx, name 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