keystoretest

package
v0.0.78 Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2021 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package keystoretest is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockStore

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

MockStore is a mock of Store interface.

func NewMockStore

func NewMockStore(ctrl *gomock.Controller) *MockStore

NewMockStore creates a new mock instance.

func (*MockStore) EXPECT

func (m *MockStore) EXPECT() *MockStoreMockRecorder

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

func (*MockStore) GetAddresses

func (m *MockStore) GetAddresses(protocol, network string) (map[string]map[string][][]byte, error)

GetAddresses mocks base method.

func (*MockStore) GetDecrypter

func (m *MockStore) GetDecrypter(address []byte, protocol, network string, decrypterType byte, deriveKeyOptions multi.OptionsBuilders) (cipher.Decrypter, error)

GetDecrypter mocks base method.

func (*MockStore) GetSigner

func (m *MockStore) GetSigner(address []byte, protocol, network string, deriveKeyOptions multi.OptionsBuilders) (signer.Signer, error)

GetSigner mocks base method.

func (*MockStore) HasAddress

func (m *MockStore) HasAddress(searchAddress []byte, protocol, network string) bool

HasAddress mocks base method.

func (*MockStore) Store

func (m *MockStore) Store(protocol, network string, private crypto.PrivateKey, deriveKeyOptions multi.OptionsBuilders) (crypto.PublicKey, error)

Store mocks base method.

type MockStoreMockRecorder

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

MockStoreMockRecorder is the mock recorder for MockStore.

func (*MockStoreMockRecorder) GetAddresses

func (mr *MockStoreMockRecorder) GetAddresses(protocol, network interface{}) *gomock.Call

GetAddresses indicates an expected call of GetAddresses.

func (*MockStoreMockRecorder) GetDecrypter

func (mr *MockStoreMockRecorder) GetDecrypter(address, protocol, network, decrypterType, deriveKeyOptions interface{}) *gomock.Call

GetDecrypter indicates an expected call of GetDecrypter.

func (*MockStoreMockRecorder) GetSigner

func (mr *MockStoreMockRecorder) GetSigner(address, protocol, network, deriveKeyOptions interface{}) *gomock.Call

GetSigner indicates an expected call of GetSigner.

func (*MockStoreMockRecorder) HasAddress

func (mr *MockStoreMockRecorder) HasAddress(searchAddress, protocol, network interface{}) *gomock.Call

HasAddress indicates an expected call of HasAddress.

func (*MockStoreMockRecorder) Store

func (mr *MockStoreMockRecorder) Store(protocol, network, private, deriveKeyOptions interface{}) *gomock.Call

Store indicates an expected call of Store.

Jump to

Keyboard shortcuts

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