Documentation
¶
Overview ¶
Package mock_client is a generated GoMock package.
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Index ¶
- type MockClient
- func (m *MockClient) Contracts(filter types.ContractFilter, pagination types.Limit) ([]types.Contract, int, error)
- func (m *MockClient) Counters(filter types.StatsFilter) (types.Counters, error)
- func (m *MockClient) EXPECT() *MockClientMockRecorder
- func (m *MockClient) Farms(filter types.FarmFilter, pagination types.Limit) ([]types.Farm, int, error)
- func (m *MockClient) Node(nodeID uint32) (types.NodeWithNestedCapacity, error)
- func (m *MockClient) NodeStatus(nodeID uint32) (types.NodeStatus, error)
- func (m *MockClient) Nodes(filter types.NodeFilter, pagination types.Limit) ([]types.Node, int, error)
- func (m *MockClient) Ping() error
- func (m *MockClient) Twins(filter types.TwinFilter, pagination types.Limit) ([]types.Twin, int, error)
- type MockClientMockRecorder
- func (mr *MockClientMockRecorder) Contracts(filter, pagination interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) Counters(filter interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) Farms(filter, pagination interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) Node(nodeID interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) NodeStatus(nodeID interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) Nodes(filter, pagination interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) Ping() *gomock.Call
- func (mr *MockClientMockRecorder) Twins(filter, pagination interface{}) *gomock.Call
- type MockDeployer
- func (m *MockDeployer) BatchDeploy(ctx context.Context, deployments map[uint32][]gridtypes.Deployment, ...) (map[uint32][]gridtypes.Deployment, error)
- func (m *MockDeployer) Cancel(ctx context.Context, contractID uint64) error
- func (m *MockDeployer) Deploy(ctx context.Context, oldDeploymentIDs map[uint32]uint64, ...) (map[uint32]uint64, error)
- func (m *MockDeployer) EXPECT() *MockDeployerMockRecorder
- func (m *MockDeployer) GetDeployments(ctx context.Context, dls map[uint32]uint64) (map[uint32]gridtypes.Deployment, error)
- type MockDeployerMockRecorder
- func (mr *MockDeployerMockRecorder) BatchDeploy(ctx, deployments, deploymentsSolutionProvider interface{}) *gomock.Call
- func (mr *MockDeployerMockRecorder) Cancel(ctx, contractID interface{}) *gomock.Call
- func (mr *MockDeployerMockRecorder) Deploy(...) *gomock.Call
- func (mr *MockDeployerMockRecorder) GetDeployments(ctx, dls interface{}) *gomock.Call
- type MockManagerInterface
- type MockManagerInterfaceMockRecorder
- type MockNodeClientGetter
- type MockNodeClientGetterMockRecorder
- type MockSubstrateExt
- func (m *MockSubstrateExt) BatchAllCreateContract(identity substrate.Identity, contractsData []substrate.BatchCreateContractData) ([]uint64, error)
- func (m *MockSubstrateExt) BatchCancelContract(identity substrate.Identity, contracts []uint64) error
- func (m *MockSubstrateExt) BatchCreateContract(identity substrate.Identity, contractsData []substrate.BatchCreateContractData) ([]uint64, *int, error)
- func (m *MockSubstrateExt) CancelContract(identity substrate.Identity, contractID uint64) error
- func (m *MockSubstrateExt) Close()
- func (m *MockSubstrateExt) CreateNameContract(identity substrate.Identity, name string) (uint64, error)
- func (m *MockSubstrateExt) CreateNodeContract(identity substrate.Identity, node uint32, body, hash string, publicIPs uint32, ...) (uint64, error)
- func (m *MockSubstrateExt) DeleteInvalidContracts(contracts map[uint32]uint64) error
- func (m *MockSubstrateExt) EXPECT() *MockSubstrateExtMockRecorder
- func (m *MockSubstrateExt) EnsureContractCanceled(identity substrate.Identity, contractID uint64) error
- func (m *MockSubstrateExt) GetAccount(identity substrate.Identity) (substrate.AccountInfo, error)
- func (m *MockSubstrateExt) GetBalance(identity substrate.Identity) (substrate.Balance, error)
- func (m *MockSubstrateExt) GetContract(id uint64) (subi.Contract, error)
- func (m *MockSubstrateExt) GetContractIDByNameRegistration(name string) (uint64, error)
- func (m *MockSubstrateExt) GetNodeTwin(id uint32) (uint32, error)
- func (m *MockSubstrateExt) GetPricingPolicy(policyID uint32) (substrate.PricingPolicy, error)
- func (m *MockSubstrateExt) GetTFTPrice() (types.U32, error)
- func (m *MockSubstrateExt) GetTwinByPubKey(pk []byte) (uint32, error)
- func (m *MockSubstrateExt) GetTwinPK(twinID uint32) ([]byte, error)
- func (m *MockSubstrateExt) InvalidateNameContract(ctx context.Context, identity substrate.Identity, contractID uint64, ...) (uint64, error)
- func (m *MockSubstrateExt) IsValidContract(contractID uint64) (bool, error)
- func (m *MockSubstrateExt) UpdateNodeContract(identity substrate.Identity, contract uint64, body, hash string) (uint64, error)
- type MockSubstrateExtMockRecorder
- func (mr *MockSubstrateExtMockRecorder) BatchAllCreateContract(identity, contractsData interface{}) *gomock.Call
- func (mr *MockSubstrateExtMockRecorder) BatchCancelContract(identity, contracts interface{}) *gomock.Call
- func (mr *MockSubstrateExtMockRecorder) BatchCreateContract(identity, contractsData interface{}) *gomock.Call
- func (mr *MockSubstrateExtMockRecorder) CancelContract(identity, contractID interface{}) *gomock.Call
- func (mr *MockSubstrateExtMockRecorder) Close() *gomock.Call
- func (mr *MockSubstrateExtMockRecorder) CreateNameContract(identity, name interface{}) *gomock.Call
- func (mr *MockSubstrateExtMockRecorder) CreateNodeContract(identity, node, body, hash, publicIPs, solutionProviderID interface{}) *gomock.Call
- func (mr *MockSubstrateExtMockRecorder) DeleteInvalidContracts(contracts interface{}) *gomock.Call
- func (mr *MockSubstrateExtMockRecorder) EnsureContractCanceled(identity, contractID interface{}) *gomock.Call
- func (mr *MockSubstrateExtMockRecorder) GetAccount(identity interface{}) *gomock.Call
- func (mr *MockSubstrateExtMockRecorder) GetBalance(identity interface{}) *gomock.Call
- func (mr *MockSubstrateExtMockRecorder) GetContract(id interface{}) *gomock.Call
- func (mr *MockSubstrateExtMockRecorder) GetContractIDByNameRegistration(name interface{}) *gomock.Call
- func (mr *MockSubstrateExtMockRecorder) GetNodeTwin(id interface{}) *gomock.Call
- func (mr *MockSubstrateExtMockRecorder) GetPricingPolicy(policyID uint32) *gomock.Call
- func (mr *MockSubstrateExtMockRecorder) GetTFTPrice() *gomock.Call
- func (mr *MockSubstrateExtMockRecorder) GetTwinByPubKey(pk interface{}) *gomock.Call
- func (mr *MockSubstrateExtMockRecorder) GetTwinPK(twinID interface{}) *gomock.Call
- func (mr *MockSubstrateExtMockRecorder) InvalidateNameContract(ctx, identity, contractID, name interface{}) *gomock.Call
- func (mr *MockSubstrateExtMockRecorder) IsValidContract(contractID interface{}) *gomock.Call
- func (mr *MockSubstrateExtMockRecorder) UpdateNodeContract(identity, contract, body, hash interface{}) *gomock.Call
- type RMBMockClient
- type RMBMockClientMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockClient ¶
type MockClient struct {
// contains filtered or unexported fields
}
MockClient is a mock of Client interface.
func NewMockClient ¶
func NewMockClient(ctrl *gomock.Controller) *MockClient
NewMockClient creates a new mock instance.
func (*MockClient) Contracts ¶
func (m *MockClient) Contracts(filter types.ContractFilter, pagination types.Limit) ([]types.Contract, int, error)
Contracts mocks base method.
func (*MockClient) Counters ¶
func (m *MockClient) Counters(filter types.StatsFilter) (types.Counters, error)
Counters mocks base method.
func (*MockClient) EXPECT ¶
func (m *MockClient) EXPECT() *MockClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockClient) Farms ¶
func (m *MockClient) Farms(filter types.FarmFilter, pagination types.Limit) ([]types.Farm, int, error)
Farms mocks base method.
func (*MockClient) Node ¶
func (m *MockClient) Node(nodeID uint32) (types.NodeWithNestedCapacity, error)
Node mocks base method.
func (*MockClient) NodeStatus ¶
func (m *MockClient) NodeStatus(nodeID uint32) (types.NodeStatus, error)
NodeStatus mocks base method.
type MockClientMockRecorder ¶
type MockClientMockRecorder struct {
// contains filtered or unexported fields
}
MockClientMockRecorder is the mock recorder for MockClient.
func (*MockClientMockRecorder) Contracts ¶
func (mr *MockClientMockRecorder) Contracts(filter, pagination interface{}) *gomock.Call
Contracts indicates an expected call of Contracts.
func (*MockClientMockRecorder) Counters ¶
func (mr *MockClientMockRecorder) Counters(filter interface{}) *gomock.Call
Counters indicates an expected call of Counters.
func (*MockClientMockRecorder) Farms ¶
func (mr *MockClientMockRecorder) Farms(filter, pagination interface{}) *gomock.Call
Farms indicates an expected call of Farms.
func (*MockClientMockRecorder) Node ¶
func (mr *MockClientMockRecorder) Node(nodeID interface{}) *gomock.Call
Node indicates an expected call of Node.
func (*MockClientMockRecorder) NodeStatus ¶
func (mr *MockClientMockRecorder) NodeStatus(nodeID interface{}) *gomock.Call
NodeStatus indicates an expected call of NodeStatus.
func (*MockClientMockRecorder) Nodes ¶
func (mr *MockClientMockRecorder) Nodes(filter, pagination interface{}) *gomock.Call
Nodes indicates an expected call of Nodes.
func (*MockClientMockRecorder) Ping ¶
func (mr *MockClientMockRecorder) Ping() *gomock.Call
Ping indicates an expected call of Ping.
func (*MockClientMockRecorder) Twins ¶
func (mr *MockClientMockRecorder) Twins(filter, pagination interface{}) *gomock.Call
Twins indicates an expected call of Twins.
type MockDeployer ¶
type MockDeployer struct {
// contains filtered or unexported fields
}
MockDeployer is a mock of MockDeployer interface.
func NewMockDeployer ¶
func NewMockDeployer(ctrl *gomock.Controller) *MockDeployer
NewMockDeployer creates a new mock instance.
func (*MockDeployer) BatchDeploy ¶
func (m *MockDeployer) BatchDeploy(ctx context.Context, deployments map[uint32][]gridtypes.Deployment, deploymentsSolutionProvider map[uint32][]*uint64) (map[uint32][]gridtypes.Deployment, error)
BatchDeploy mocks base method.
func (*MockDeployer) Cancel ¶
func (m *MockDeployer) Cancel(ctx context.Context, contractID uint64) error
Cancel mocks base method.
func (*MockDeployer) Deploy ¶
func (m *MockDeployer) Deploy(ctx context.Context, oldDeploymentIDs map[uint32]uint64, newDeployments map[uint32]gridtypes.Deployment, newDeploymentSolutionProvider map[uint32]*uint64) (map[uint32]uint64, error)
Deploy mocks base method.
func (*MockDeployer) EXPECT ¶
func (m *MockDeployer) EXPECT() *MockDeployerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockDeployer) GetDeployments ¶
func (m *MockDeployer) GetDeployments(ctx context.Context, dls map[uint32]uint64) (map[uint32]gridtypes.Deployment, error)
GetDeployments mocks base method.
type MockDeployerMockRecorder ¶
type MockDeployerMockRecorder struct {
// contains filtered or unexported fields
}
MockDeployerMockRecorder is the mock recorder for MockDeployer.
func (*MockDeployerMockRecorder) BatchDeploy ¶
func (mr *MockDeployerMockRecorder) BatchDeploy(ctx, deployments, deploymentsSolutionProvider interface{}) *gomock.Call
BatchDeploy indicates an expected call of BatchDeploy.
func (*MockDeployerMockRecorder) Cancel ¶
func (mr *MockDeployerMockRecorder) Cancel(ctx, contractID interface{}) *gomock.Call
Cancel indicates an expected call of Cancel.
func (*MockDeployerMockRecorder) Deploy ¶
func (mr *MockDeployerMockRecorder) Deploy(ctx, oldDeploymentIDs, newDeployments, newDeploymentSolutionProvider interface{}) *gomock.Call
Deploy indicates an expected call of Deploy.
func (*MockDeployerMockRecorder) GetDeployments ¶
func (mr *MockDeployerMockRecorder) GetDeployments(ctx, dls interface{}) *gomock.Call
GetDeployments indicates an expected call of GetDeployments.
type MockManagerInterface ¶
type MockManagerInterface struct {
// contains filtered or unexported fields
}
MockManagerInterface is a mock of ManagerInterface interface.
func NewMockManagerInterface ¶
func NewMockManagerInterface(ctrl *gomock.Controller) *MockManagerInterface
NewMockManagerInterface creates a new mock instance.
func (*MockManagerInterface) EXPECT ¶
func (m *MockManagerInterface) EXPECT() *MockManagerInterfaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockManagerInterface) Substrate ¶
func (m *MockManagerInterface) Substrate() (*substrate.Substrate, error)
Substrate mocks base method.
func (*MockManagerInterface) SubstrateExt ¶
func (m *MockManagerInterface) SubstrateExt() (subi.SubstrateImpl, error)
SubstrateExt mocks base method.
type MockManagerInterfaceMockRecorder ¶
type MockManagerInterfaceMockRecorder struct {
// contains filtered or unexported fields
}
MockManagerInterfaceMockRecorder is the mock recorder for MockManagerInterface.
func (*MockManagerInterfaceMockRecorder) Raw ¶
func (mr *MockManagerInterfaceMockRecorder) Raw() *gomock.Call
Raw indicates an expected call of Raw.
func (*MockManagerInterfaceMockRecorder) Substrate ¶
func (mr *MockManagerInterfaceMockRecorder) Substrate() *gomock.Call
Substrate indicates an expected call of Substrate.
func (*MockManagerInterfaceMockRecorder) SubstrateExt ¶
func (mr *MockManagerInterfaceMockRecorder) SubstrateExt() *gomock.Call
SubstrateExt indicates an expected call of SubstrateExt.
type MockNodeClientGetter ¶
type MockNodeClientGetter struct {
// contains filtered or unexported fields
}
MockNodeClientGetter is a mock of NodeClientGetter interface.
func NewMockNodeClientGetter ¶
func NewMockNodeClientGetter(ctrl *gomock.Controller) *MockNodeClientGetter
NewMockNodeClientGetter creates a new mock instance.
func (*MockNodeClientGetter) EXPECT ¶
func (m *MockNodeClientGetter) EXPECT() *MockNodeClientGetterMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockNodeClientGetter) GetNodeClient ¶
func (m *MockNodeClientGetter) GetNodeClient(sub subi.SubstrateExt, nodeID uint32) (*client.NodeClient, error)
GetNodeClient mocks base method.
type MockNodeClientGetterMockRecorder ¶
type MockNodeClientGetterMockRecorder struct {
// contains filtered or unexported fields
}
MockNodeClientGetterMockRecorder is the mock recorder for MockNodeClientGetter.
func (*MockNodeClientGetterMockRecorder) GetNodeClient ¶
func (mr *MockNodeClientGetterMockRecorder) GetNodeClient(sub, nodeID interface{}) *gomock.Call
GetNodeClient indicates an expected call of GetNodeClient.
type MockSubstrateExt ¶
type MockSubstrateExt struct {
// contains filtered or unexported fields
}
MockSubstrateExt is a mock of SubstrateExt interface.
func NewMockSubstrateExt ¶
func NewMockSubstrateExt(ctrl *gomock.Controller) *MockSubstrateExt
NewMockSubstrateExt creates a new mock instance.
func (*MockSubstrateExt) BatchAllCreateContract ¶
func (m *MockSubstrateExt) BatchAllCreateContract(identity substrate.Identity, contractsData []substrate.BatchCreateContractData) ([]uint64, error)
BatchAllCreateContract mocks base method.
func (*MockSubstrateExt) BatchCancelContract ¶
func (m *MockSubstrateExt) BatchCancelContract(identity substrate.Identity, contracts []uint64) error
BatchCancelContract mocks base method.
func (*MockSubstrateExt) BatchCreateContract ¶
func (m *MockSubstrateExt) BatchCreateContract(identity substrate.Identity, contractsData []substrate.BatchCreateContractData) ([]uint64, *int, error)
BatchCreateContract mocks base method.
func (*MockSubstrateExt) CancelContract ¶
func (m *MockSubstrateExt) CancelContract(identity substrate.Identity, contractID uint64) error
CancelContract mocks base method.
func (*MockSubstrateExt) CreateNameContract ¶
func (m *MockSubstrateExt) CreateNameContract(identity substrate.Identity, name string) (uint64, error)
CreateNameContract mocks base method.
func (*MockSubstrateExt) CreateNodeContract ¶
func (m *MockSubstrateExt) CreateNodeContract(identity substrate.Identity, node uint32, body, hash string, publicIPs uint32, solutionProviderID *uint64) (uint64, error)
CreateNodeContract mocks base method.
func (*MockSubstrateExt) DeleteInvalidContracts ¶
func (m *MockSubstrateExt) DeleteInvalidContracts(contracts map[uint32]uint64) error
DeleteInvalidContracts mocks base method.
func (*MockSubstrateExt) EXPECT ¶
func (m *MockSubstrateExt) EXPECT() *MockSubstrateExtMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockSubstrateExt) EnsureContractCanceled ¶
func (m *MockSubstrateExt) EnsureContractCanceled(identity substrate.Identity, contractID uint64) error
EnsureContractCanceled mocks base method.
func (*MockSubstrateExt) GetAccount ¶
func (m *MockSubstrateExt) GetAccount(identity substrate.Identity) (substrate.AccountInfo, error)
GetAccount mocks base method.
func (*MockSubstrateExt) GetBalance ¶
GetBalance mocks base method.
func (*MockSubstrateExt) GetContract ¶
func (m *MockSubstrateExt) GetContract(id uint64) (subi.Contract, error)
GetContract mocks base method.
func (*MockSubstrateExt) GetContractIDByNameRegistration ¶
func (m *MockSubstrateExt) GetContractIDByNameRegistration(name string) (uint64, error)
GetContractIDByNameRegistration mocks base method.
func (*MockSubstrateExt) GetNodeTwin ¶
func (m *MockSubstrateExt) GetNodeTwin(id uint32) (uint32, error)
GetNodeTwin mocks base method.
func (*MockSubstrateExt) GetPricingPolicy ¶
func (m *MockSubstrateExt) GetPricingPolicy(policyID uint32) (substrate.PricingPolicy, error)
GetPricingPolicy mocks base method.
func (*MockSubstrateExt) GetTFTPrice ¶
func (m *MockSubstrateExt) GetTFTPrice() (types.U32, error)
GetTFTPrice mocks base method.
func (*MockSubstrateExt) GetTwinByPubKey ¶
func (m *MockSubstrateExt) GetTwinByPubKey(pk []byte) (uint32, error)
GetTwinByPubKey mocks base method.
func (*MockSubstrateExt) GetTwinPK ¶
func (m *MockSubstrateExt) GetTwinPK(twinID uint32) ([]byte, error)
GetTwinPK mocks base method.
func (*MockSubstrateExt) InvalidateNameContract ¶
func (m *MockSubstrateExt) InvalidateNameContract(ctx context.Context, identity substrate.Identity, contractID uint64, name string) (uint64, error)
InvalidateNameContract mocks base method.
func (*MockSubstrateExt) IsValidContract ¶
func (m *MockSubstrateExt) IsValidContract(contractID uint64) (bool, error)
IsValidContract mocks base method.
func (*MockSubstrateExt) UpdateNodeContract ¶
func (m *MockSubstrateExt) UpdateNodeContract(identity substrate.Identity, contract uint64, body, hash string) (uint64, error)
UpdateNodeContract mocks base method.
type MockSubstrateExtMockRecorder ¶
type MockSubstrateExtMockRecorder struct {
// contains filtered or unexported fields
}
MockSubstrateExtMockRecorder is the mock recorder for MockSubstrateExt.
func (*MockSubstrateExtMockRecorder) BatchAllCreateContract ¶
func (mr *MockSubstrateExtMockRecorder) BatchAllCreateContract(identity, contractsData interface{}) *gomock.Call
BatchAllCreateContract indicates an expected call of BatchAllCreateContract.
func (*MockSubstrateExtMockRecorder) BatchCancelContract ¶
func (mr *MockSubstrateExtMockRecorder) BatchCancelContract(identity, contracts interface{}) *gomock.Call
BatchCancelContract indicates an expected call of BatchCancelContract.
func (*MockSubstrateExtMockRecorder) BatchCreateContract ¶
func (mr *MockSubstrateExtMockRecorder) BatchCreateContract(identity, contractsData interface{}) *gomock.Call
BatchCreateContract indicates an expected call of BatchCreateContract.
func (*MockSubstrateExtMockRecorder) CancelContract ¶
func (mr *MockSubstrateExtMockRecorder) CancelContract(identity, contractID interface{}) *gomock.Call
CancelContract indicates an expected call of CancelContract.
func (*MockSubstrateExtMockRecorder) Close ¶
func (mr *MockSubstrateExtMockRecorder) Close() *gomock.Call
Close indicates an expected call of Close.
func (*MockSubstrateExtMockRecorder) CreateNameContract ¶
func (mr *MockSubstrateExtMockRecorder) CreateNameContract(identity, name interface{}) *gomock.Call
CreateNameContract indicates an expected call of CreateNameContract.
func (*MockSubstrateExtMockRecorder) CreateNodeContract ¶
func (mr *MockSubstrateExtMockRecorder) CreateNodeContract(identity, node, body, hash, publicIPs, solutionProviderID interface{}) *gomock.Call
CreateNodeContract indicates an expected call of CreateNodeContract.
func (*MockSubstrateExtMockRecorder) DeleteInvalidContracts ¶
func (mr *MockSubstrateExtMockRecorder) DeleteInvalidContracts(contracts interface{}) *gomock.Call
DeleteInvalidContracts indicates an expected call of DeleteInvalidContracts.
func (*MockSubstrateExtMockRecorder) EnsureContractCanceled ¶
func (mr *MockSubstrateExtMockRecorder) EnsureContractCanceled(identity, contractID interface{}) *gomock.Call
EnsureContractCanceled indicates an expected call of EnsureContractCanceled.
func (*MockSubstrateExtMockRecorder) GetAccount ¶
func (mr *MockSubstrateExtMockRecorder) GetAccount(identity interface{}) *gomock.Call
GetAccount indicates an expected call of GetAccount.
func (*MockSubstrateExtMockRecorder) GetBalance ¶
func (mr *MockSubstrateExtMockRecorder) GetBalance(identity interface{}) *gomock.Call
GetBalance indicates an expected call of GetBalance.
func (*MockSubstrateExtMockRecorder) GetContract ¶
func (mr *MockSubstrateExtMockRecorder) GetContract(id interface{}) *gomock.Call
GetContract indicates an expected call of GetContract.
func (*MockSubstrateExtMockRecorder) GetContractIDByNameRegistration ¶
func (mr *MockSubstrateExtMockRecorder) GetContractIDByNameRegistration(name interface{}) *gomock.Call
GetContractIDByNameRegistration indicates an expected call of GetContractIDByNameRegistration.
func (*MockSubstrateExtMockRecorder) GetNodeTwin ¶
func (mr *MockSubstrateExtMockRecorder) GetNodeTwin(id interface{}) *gomock.Call
GetNodeTwin indicates an expected call of GetNodeTwin.
func (*MockSubstrateExtMockRecorder) GetPricingPolicy ¶
func (mr *MockSubstrateExtMockRecorder) GetPricingPolicy(policyID uint32) *gomock.Call
GetPricingPolicy indicates an expected call of GetPricingPolicy.
func (*MockSubstrateExtMockRecorder) GetTFTPrice ¶
func (mr *MockSubstrateExtMockRecorder) GetTFTPrice() *gomock.Call
GetTFTPrice indicates an expected call of GetTFTPrice.
func (*MockSubstrateExtMockRecorder) GetTwinByPubKey ¶
func (mr *MockSubstrateExtMockRecorder) GetTwinByPubKey(pk interface{}) *gomock.Call
GetTwinByPubKey indicates an expected call of GetTwinByPubKey.
func (*MockSubstrateExtMockRecorder) GetTwinPK ¶
func (mr *MockSubstrateExtMockRecorder) GetTwinPK(twinID interface{}) *gomock.Call
GetTwinPK indicates an expected call of GetTwinPK.
func (*MockSubstrateExtMockRecorder) InvalidateNameContract ¶
func (mr *MockSubstrateExtMockRecorder) InvalidateNameContract(ctx, identity, contractID, name interface{}) *gomock.Call
InvalidateNameContract indicates an expected call of InvalidateNameContract.
func (*MockSubstrateExtMockRecorder) IsValidContract ¶
func (mr *MockSubstrateExtMockRecorder) IsValidContract(contractID interface{}) *gomock.Call
IsValidContract indicates an expected call of IsValidContract.
func (*MockSubstrateExtMockRecorder) UpdateNodeContract ¶
func (mr *MockSubstrateExtMockRecorder) UpdateNodeContract(identity, contract, body, hash interface{}) *gomock.Call
UpdateNodeContract indicates an expected call of UpdateNodeContract.
type RMBMockClient ¶
type RMBMockClient struct {
// contains filtered or unexported fields
}
RMBMockClient is a mock of Client interface.
func NewRMBMockClient ¶
func NewRMBMockClient(ctrl *gomock.Controller) *RMBMockClient
NewRMBMockClient creates a new mock instance.
func (*RMBMockClient) Call ¶
func (m *RMBMockClient) Call(ctx context.Context, twin uint32, fn string, data, result interface{}) error
Call mocks base method.
func (*RMBMockClient) EXPECT ¶
func (m *RMBMockClient) EXPECT() *RMBMockClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type RMBMockClientMockRecorder ¶
type RMBMockClientMockRecorder struct {
// contains filtered or unexported fields
}
RMBMockClientMockRecorder is the mock recorder for RMBMockClient.
func (*RMBMockClientMockRecorder) Call ¶
func (mr *RMBMockClientMockRecorder) Call(ctx, twin, fn, data, result interface{}) *gomock.Call
Call indicates an expected call of Call.