Documentation
¶
Index ¶
- type GitFetcherStub
- type SimulatorHandlerMock
- func (mock *SimulatorHandlerMock) AddValidatorKeys(validatorsPrivateKeys [][]byte) error
- func (mock *SimulatorHandlerMock) GenerateBlocks(numOfBlocks int) error
- func (mock *SimulatorHandlerMock) GetInitialWalletKeys() *dtos.InitialWalletKeys
- func (mock *SimulatorHandlerMock) IsInterfaceNil() bool
- func (mock *SimulatorHandlerMock) SetKeyValueForAddress(address string, keyValueMap map[string]string) error
- func (mock *SimulatorHandlerMock) SetStateMultiple(stateSlice []*dtos.AddressState) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GitFetcherStub ¶
type GitFetcherStub struct { CloneCalled func(r, d string) error CheckoutCalled func(repoDir string, commitHashOrBranch string) error }
GitFetcherStub -
type SimulatorHandlerMock ¶ added in v1.7.1
type SimulatorHandlerMock struct { GetInitialWalletKeysCalled func() *dtos.InitialWalletKeys GenerateBlocksCalled func(numOfBlocks int) error SetKeyValueForAddressCalled func(address string, keyValueMap map[string]string) error SetStateMultipleCalled func(stateSlice []*dtos.AddressState) error AddValidatorKeysCalled func(validatorsPrivateKeys [][]byte) error }
SimulatorHandlerMock -
func (*SimulatorHandlerMock) AddValidatorKeys ¶ added in v1.7.1
func (mock *SimulatorHandlerMock) AddValidatorKeys(validatorsPrivateKeys [][]byte) error
AddValidatorKeys -
func (*SimulatorHandlerMock) GenerateBlocks ¶ added in v1.7.1
func (mock *SimulatorHandlerMock) GenerateBlocks(numOfBlocks int) error
GenerateBlocks -
func (*SimulatorHandlerMock) GetInitialWalletKeys ¶ added in v1.7.1
func (mock *SimulatorHandlerMock) GetInitialWalletKeys() *dtos.InitialWalletKeys
GetInitialWalletKeys -
func (*SimulatorHandlerMock) IsInterfaceNil ¶ added in v1.7.1
func (mock *SimulatorHandlerMock) IsInterfaceNil() bool
IsInterfaceNil -
func (*SimulatorHandlerMock) SetKeyValueForAddress ¶ added in v1.7.1
func (mock *SimulatorHandlerMock) SetKeyValueForAddress(address string, keyValueMap map[string]string) error
SetKeyValueForAddress -
func (*SimulatorHandlerMock) SetStateMultiple ¶ added in v1.7.1
func (mock *SimulatorHandlerMock) SetStateMultiple(stateSlice []*dtos.AddressState) error
SetStateMultiple -
Click to show internal directories.
Click to hide internal directories.