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 ¶
- type MockEthStore
- func (m *MockEthStore) Create(ctx context.Context, id string, attr *entities.Attributes) (*entities.ETHAccount, error)
- func (m *MockEthStore) Decrypt(ctx context.Context, addr common.Address, data []byte) ([]byte, error)
- func (m *MockEthStore) Delete(ctx context.Context, addr common.Address) error
- func (m *MockEthStore) Destroy(ctx context.Context, addr common.Address) error
- func (m *MockEthStore) EXPECT() *MockEthStoreMockRecorder
- func (m *MockEthStore) Encrypt(ctx context.Context, addr common.Address, data []byte) ([]byte, error)
- func (m *MockEthStore) Get(ctx context.Context, addr common.Address) (*entities.ETHAccount, error)
- func (m *MockEthStore) GetDeleted(ctx context.Context, addr common.Address) (*entities.ETHAccount, error)
- func (m *MockEthStore) Import(ctx context.Context, id string, privKey []byte, attr *entities.Attributes) (*entities.ETHAccount, error)
- func (m *MockEthStore) List(ctx context.Context, limit, offset uint64) ([]common.Address, error)
- func (m *MockEthStore) ListDeleted(ctx context.Context, limit, offset uint64) ([]common.Address, error)
- func (m *MockEthStore) Restore(ctx context.Context, addr common.Address) error
- func (m *MockEthStore) Sign(ctx context.Context, addr common.Address, data []byte) ([]byte, error)
- func (m *MockEthStore) SignEEA(ctx context.Context, addr common.Address, chainID *big.Int, ...) ([]byte, error)
- func (m *MockEthStore) SignMessage(ctx context.Context, addr common.Address, data []byte) ([]byte, error)
- func (m *MockEthStore) SignPrivate(ctx context.Context, addr common.Address, tx *types.Transaction) ([]byte, error)
- func (m *MockEthStore) SignTransaction(ctx context.Context, addr common.Address, chainID *big.Int, ...) ([]byte, error)
- func (m *MockEthStore) SignTypedData(ctx context.Context, addr common.Address, typedData *core.TypedData) ([]byte, error)
- func (m *MockEthStore) Update(ctx context.Context, addr common.Address, attr *entities.Attributes) (*entities.ETHAccount, error)
- type MockEthStoreMockRecorder
- func (mr *MockEthStoreMockRecorder) Create(ctx, id, attr interface{}) *gomock.Call
- func (mr *MockEthStoreMockRecorder) Decrypt(ctx, addr, data interface{}) *gomock.Call
- func (mr *MockEthStoreMockRecorder) Delete(ctx, addr interface{}) *gomock.Call
- func (mr *MockEthStoreMockRecorder) Destroy(ctx, addr interface{}) *gomock.Call
- func (mr *MockEthStoreMockRecorder) Encrypt(ctx, addr, data interface{}) *gomock.Call
- func (mr *MockEthStoreMockRecorder) Get(ctx, addr interface{}) *gomock.Call
- func (mr *MockEthStoreMockRecorder) GetDeleted(ctx, addr interface{}) *gomock.Call
- func (mr *MockEthStoreMockRecorder) Import(ctx, id, privKey, attr interface{}) *gomock.Call
- func (mr *MockEthStoreMockRecorder) List(ctx, limit, offset interface{}) *gomock.Call
- func (mr *MockEthStoreMockRecorder) ListDeleted(ctx, limit, offset interface{}) *gomock.Call
- func (mr *MockEthStoreMockRecorder) Restore(ctx, addr interface{}) *gomock.Call
- func (mr *MockEthStoreMockRecorder) Sign(ctx, addr, data interface{}) *gomock.Call
- func (mr *MockEthStoreMockRecorder) SignEEA(ctx, addr, chainID, tx, args interface{}) *gomock.Call
- func (mr *MockEthStoreMockRecorder) SignMessage(ctx, addr, data interface{}) *gomock.Call
- func (mr *MockEthStoreMockRecorder) SignPrivate(ctx, addr, tx interface{}) *gomock.Call
- func (mr *MockEthStoreMockRecorder) SignTransaction(ctx, addr, chainID, tx interface{}) *gomock.Call
- func (mr *MockEthStoreMockRecorder) SignTypedData(ctx, addr, typedData interface{}) *gomock.Call
- func (mr *MockEthStoreMockRecorder) Update(ctx, addr, attr interface{}) *gomock.Call
- type MockKeyStore
- func (m *MockKeyStore) Create(ctx context.Context, id string, alg *entities2.Algorithm, ...) (*entities.Key, error)
- func (m *MockKeyStore) Decrypt(ctx context.Context, id string, data []byte) ([]byte, error)
- func (m *MockKeyStore) Delete(ctx context.Context, id string) error
- func (m *MockKeyStore) Destroy(ctx context.Context, id string) error
- func (m *MockKeyStore) EXPECT() *MockKeyStoreMockRecorder
- func (m *MockKeyStore) Encrypt(ctx context.Context, id string, data []byte) ([]byte, error)
- func (m *MockKeyStore) Get(ctx context.Context, id string) (*entities.Key, error)
- func (m *MockKeyStore) GetDeleted(ctx context.Context, id string) (*entities.Key, error)
- func (m *MockKeyStore) Import(ctx context.Context, id string, privKey []byte, alg *entities2.Algorithm, ...) (*entities.Key, error)
- func (m *MockKeyStore) List(ctx context.Context, limit, offset uint64) ([]string, error)
- func (m *MockKeyStore) ListDeleted(ctx context.Context, limit, offset uint64) ([]string, error)
- func (m *MockKeyStore) Restore(ctx context.Context, id string) error
- func (m *MockKeyStore) Sign(ctx context.Context, id string, data []byte, algo *entities2.Algorithm) ([]byte, error)
- func (m *MockKeyStore) Update(ctx context.Context, id string, attr *entities.Attributes) (*entities.Key, error)
- type MockKeyStoreMockRecorder
- func (mr *MockKeyStoreMockRecorder) Create(ctx, id, alg, attr interface{}) *gomock.Call
- func (mr *MockKeyStoreMockRecorder) Decrypt(ctx, id, data interface{}) *gomock.Call
- func (mr *MockKeyStoreMockRecorder) Delete(ctx, id interface{}) *gomock.Call
- func (mr *MockKeyStoreMockRecorder) Destroy(ctx, id interface{}) *gomock.Call
- func (mr *MockKeyStoreMockRecorder) Encrypt(ctx, id, data interface{}) *gomock.Call
- func (mr *MockKeyStoreMockRecorder) Get(ctx, id interface{}) *gomock.Call
- func (mr *MockKeyStoreMockRecorder) GetDeleted(ctx, id interface{}) *gomock.Call
- func (mr *MockKeyStoreMockRecorder) Import(ctx, id, privKey, alg, attr interface{}) *gomock.Call
- func (mr *MockKeyStoreMockRecorder) List(ctx, limit, offset interface{}) *gomock.Call
- func (mr *MockKeyStoreMockRecorder) ListDeleted(ctx, limit, offset interface{}) *gomock.Call
- func (mr *MockKeyStoreMockRecorder) Restore(ctx, id interface{}) *gomock.Call
- func (mr *MockKeyStoreMockRecorder) Sign(ctx, id, data, algo interface{}) *gomock.Call
- func (mr *MockKeyStoreMockRecorder) Update(ctx, id, attr interface{}) *gomock.Call
- type MockManager
- type MockManagerMockRecorder
- type MockSecretStore
- func (m *MockSecretStore) Delete(ctx context.Context, id string) error
- func (m *MockSecretStore) Destroy(ctx context.Context, id string) error
- func (m *MockSecretStore) EXPECT() *MockSecretStoreMockRecorder
- func (m *MockSecretStore) Get(ctx context.Context, id, version string) (*entities.Secret, error)
- func (m *MockSecretStore) GetDeleted(ctx context.Context, id string) (*entities.Secret, error)
- func (m *MockSecretStore) List(ctx context.Context, limit, offset uint64) ([]string, error)
- func (m *MockSecretStore) ListDeleted(ctx context.Context, limit, offset uint64) ([]string, error)
- func (m *MockSecretStore) Restore(ctx context.Context, id string) error
- func (m *MockSecretStore) Set(ctx context.Context, id, value string, attr *entities.Attributes) (*entities.Secret, error)
- type MockSecretStoreMockRecorder
- func (mr *MockSecretStoreMockRecorder) Delete(ctx, id interface{}) *gomock.Call
- func (mr *MockSecretStoreMockRecorder) Destroy(ctx, id interface{}) *gomock.Call
- func (mr *MockSecretStoreMockRecorder) Get(ctx, id, version interface{}) *gomock.Call
- func (mr *MockSecretStoreMockRecorder) GetDeleted(ctx, id interface{}) *gomock.Call
- func (mr *MockSecretStoreMockRecorder) List(ctx, limit, offset interface{}) *gomock.Call
- func (mr *MockSecretStoreMockRecorder) ListDeleted(ctx, limit, offset interface{}) *gomock.Call
- func (mr *MockSecretStoreMockRecorder) Restore(ctx, id interface{}) *gomock.Call
- func (mr *MockSecretStoreMockRecorder) Set(ctx, id, value, attr interface{}) *gomock.Call
- type MockStores
- func (m *MockStores) CreateEthereum(arg0 context.Context, name, keyStore string, allowedTenants []string, ...) error
- func (m *MockStores) CreateKey(arg0 context.Context, name, vault, secretStore string, allowedTenants []string, ...) error
- func (m *MockStores) CreateSecret(arg0 context.Context, name, vault string, allowedTenants []string, ...) error
- func (m *MockStores) EXPECT() *MockStoresMockRecorder
- func (m *MockStores) Ethereum(ctx context.Context, storeName string, userInfo *entities.UserInfo) (stores.EthStore, error)
- func (m *MockStores) EthereumByAddr(ctx context.Context, addr common.Address, userInfo *entities.UserInfo) (stores.EthStore, error)
- func (m *MockStores) ImportEthereum(ctx context.Context, name string, userInfo *entities.UserInfo) error
- func (m *MockStores) ImportKeys(ctx context.Context, storeName string, userInfo *entities.UserInfo) error
- func (m *MockStores) ImportSecrets(ctx context.Context, storeName string, userInfo *entities.UserInfo) error
- func (m *MockStores) Key(ctx context.Context, storeName string, userInfo *entities.UserInfo) (stores.KeyStore, error)
- func (m *MockStores) List(ctx context.Context, storeType string, userInfo *entities.UserInfo) ([]string, error)
- func (m *MockStores) ListAllAccounts(ctx context.Context, userInfo *entities.UserInfo) ([]common.Address, error)
- func (m *MockStores) Secret(ctx context.Context, storeName string, userInfo *entities.UserInfo) (stores.SecretStore, error)
- type MockStoresMockRecorder
- func (mr *MockStoresMockRecorder) CreateEthereum(arg0, name, keyStore, allowedTenants, userInfo interface{}) *gomock.Call
- func (mr *MockStoresMockRecorder) CreateKey(arg0, name, vault, secretStore, allowedTenants, userInfo interface{}) *gomock.Call
- func (mr *MockStoresMockRecorder) CreateSecret(arg0, name, vault, allowedTenants, userInfo interface{}) *gomock.Call
- func (mr *MockStoresMockRecorder) Ethereum(ctx, storeName, userInfo interface{}) *gomock.Call
- func (mr *MockStoresMockRecorder) EthereumByAddr(ctx, addr, userInfo interface{}) *gomock.Call
- func (mr *MockStoresMockRecorder) ImportEthereum(ctx, name, userInfo interface{}) *gomock.Call
- func (mr *MockStoresMockRecorder) ImportKeys(ctx, storeName, userInfo interface{}) *gomock.Call
- func (mr *MockStoresMockRecorder) ImportSecrets(ctx, storeName, userInfo interface{}) *gomock.Call
- func (mr *MockStoresMockRecorder) Key(ctx, storeName, userInfo interface{}) *gomock.Call
- func (mr *MockStoresMockRecorder) List(ctx, storeType, userInfo interface{}) *gomock.Call
- func (mr *MockStoresMockRecorder) ListAllAccounts(ctx, userInfo interface{}) *gomock.Call
- func (mr *MockStoresMockRecorder) Secret(ctx, storeName, userInfo interface{}) *gomock.Call
- type MockUtils
- func (m *MockUtils) ECRecover(data, sig []byte) (common.Address, error)
- func (m *MockUtils) EXPECT() *MockUtilsMockRecorder
- func (m *MockUtils) Verify(pubKey, data, sig []byte, algo *entities.Algorithm) error
- func (m *MockUtils) VerifyMessage(addr common.Address, data, sig []byte) error
- func (m *MockUtils) VerifyTypedData(addr common.Address, typedData *core.TypedData, sig []byte) error
- type MockUtilsMockRecorder
- func (mr *MockUtilsMockRecorder) ECRecover(data, sig interface{}) *gomock.Call
- func (mr *MockUtilsMockRecorder) Verify(pubKey, data, sig, algo interface{}) *gomock.Call
- func (mr *MockUtilsMockRecorder) VerifyMessage(addr, data, sig interface{}) *gomock.Call
- func (mr *MockUtilsMockRecorder) VerifyTypedData(addr, typedData, sig interface{}) *gomock.Call
- type MockVaults
- func (m *MockVaults) CreateAWS(ctx context.Context, name string, config *entities.AWSConfig) error
- func (m *MockVaults) CreateAzure(ctx context.Context, name string, config *entities.AzureConfig) error
- func (m *MockVaults) CreateHashicorp(ctx context.Context, name string, config *entities.HashicorpConfig) error
- func (m *MockVaults) EXPECT() *MockVaultsMockRecorder
- func (m *MockVaults) Get(ctx context.Context, name string) (*entities.Vault, error)
- type MockVaultsMockRecorder
- func (mr *MockVaultsMockRecorder) CreateAWS(ctx, name, config interface{}) *gomock.Call
- func (mr *MockVaultsMockRecorder) CreateAzure(ctx, name, config interface{}) *gomock.Call
- func (mr *MockVaultsMockRecorder) CreateHashicorp(ctx, name, config interface{}) *gomock.Call
- func (mr *MockVaultsMockRecorder) Get(ctx, name interface{}) *gomock.Call
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 ¶
func (m *MockEthStore) Create(ctx context.Context, id string, attr *entities.Attributes) (*entities.ETHAccount, error)
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) EXPECT ¶
func (m *MockEthStore) EXPECT() *MockEthStoreMockRecorder
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 ¶
func (m *MockEthStore) Get(ctx context.Context, addr common.Address) (*entities.ETHAccount, error)
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) ListDeleted ¶
func (m *MockEthStore) ListDeleted(ctx context.Context, limit, offset uint64) ([]common.Address, error)
ListDeleted 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 ¶
func (m *MockEthStore) Update(ctx context.Context, addr common.Address, attr *entities.Attributes) (*entities.ETHAccount, error)
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 ¶
func (m *MockKeyStore) Create(ctx context.Context, id string, alg *entities2.Algorithm, attr *entities.Attributes) (*entities.Key, error)
Create 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 ¶
func (m *MockKeyStore) EXPECT() *MockKeyStoreMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockKeyStore) GetDeleted ¶
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) ListDeleted ¶
ListDeleted mocks base method
func (*MockKeyStore) Restore ¶
func (m *MockKeyStore) Restore(ctx context.Context, id string) error
Restore 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
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 ¶
func (m *MockSecretStore) EXPECT() *MockSecretStoreMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockSecretStore) GetDeleted ¶
GetDeleted mocks base method
func (*MockSecretStore) ListDeleted ¶
ListDeleted 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
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) EXPECT ¶
func (m *MockUtils) EXPECT() *MockUtilsMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockUtils) VerifyMessage ¶
VerifyMessage 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) 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
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