Documentation
¶
Index ¶
- type IdentityManagerStub
- func (s *IdentityManagerStub) Decrypt(ctx context.Context, arg0 []uint8) (ret0 []uint8, ret1 error)
- func (s *IdentityManagerStub) DecryptECDH(ctx context.Context, arg0 []uint8, arg1 []uint8) (ret0 []uint8, ret1 error)
- func (s *IdentityManagerStub) Encrypt(ctx context.Context, arg0 []uint8) (ret0 []uint8, ret1 error)
- func (s *IdentityManagerStub) EncryptECDH(ctx context.Context, arg0 []uint8, arg1 []uint8) (ret0 []uint8, ret1 error)
- func (s *IdentityManagerStub) Farm(ctx context.Context) (ret0 string, ret1 error)
- func (s *IdentityManagerStub) FarmID(ctx context.Context) (ret0 pkg.FarmID)
- func (s *IdentityManagerStub) FarmSecret(ctx context.Context) (ret0 string)
- func (s *IdentityManagerStub) NodeID(ctx context.Context) (ret0 pkg1.StrIdentifier)
- func (s *IdentityManagerStub) PrivateKey(ctx context.Context) (ret0 []uint8)
- func (s *IdentityManagerStub) Sign(ctx context.Context, arg0 []uint8) (ret0 []uint8, ret1 error)
- func (s *IdentityManagerStub) StoreKind(ctx context.Context) (ret0 string)
- func (s *IdentityManagerStub) Verify(ctx context.Context, arg0 []uint8, arg1 []uint8) (ret0 error)
- type RegistrarGatewayStub
- func (s *RegistrarGatewayStub) CreateNode(ctx context.Context, arg0 client.Node) (ret0 uint64, ret1 error)
- func (s *RegistrarGatewayStub) CreateTwin(ctx context.Context, arg0 []string, arg1 string) (ret0 client.Account, ret1 error)
- func (s *RegistrarGatewayStub) EnsureAccount(ctx context.Context, arg0 []string, arg1 string) (ret0 client.Account, ret1 error)
- func (s *RegistrarGatewayStub) GetContract(ctx context.Context, arg0 uint64) (ret0 tfchainclientgo.Contract, ret1 pkg.SubstrateError)
- func (s *RegistrarGatewayStub) GetContractIDByNameRegistration(ctx context.Context, arg0 string) (ret0 uint64, ret1 pkg.SubstrateError)
- func (s *RegistrarGatewayStub) GetFarm(ctx context.Context, arg0 uint64) (ret0 client.Farm, ret1 error)
- func (s *RegistrarGatewayStub) GetNode(ctx context.Context, arg0 uint64) (ret0 client.Node, ret1 error)
- func (s *RegistrarGatewayStub) GetNodeByTwinID(ctx context.Context, arg0 uint64) (ret0 client.Node, ret1 error)
- func (s *RegistrarGatewayStub) GetNodeContracts(ctx context.Context, arg0 uint32) (ret0 []types.U64, ret1 error)
- func (s *RegistrarGatewayStub) GetNodeRentContract(ctx context.Context, arg0 uint32) (ret0 uint64, ret1 pkg.SubstrateError)
- func (s *RegistrarGatewayStub) GetNodes(ctx context.Context, arg0 uint64) (ret0 []uint64, ret1 error)
- func (s *RegistrarGatewayStub) GetPowerTarget(ctx context.Context) (ret0 tfchainclientgo.NodePower, ret1 error)
- func (s *RegistrarGatewayStub) GetTime(ctx context.Context) (ret0 time.Time, ret1 error)
- func (s *RegistrarGatewayStub) GetTwin(ctx context.Context, arg0 uint64) (ret0 client.Account, ret1 error)
- func (s *RegistrarGatewayStub) GetTwinByPubKey(ctx context.Context, arg0 []uint8) (ret0 uint64, ret1 error)
- func (s *RegistrarGatewayStub) GetZosVersion(ctx context.Context) (ret0 client.ZosVersion, ret1 error)
- func (s *RegistrarGatewayStub) Report(ctx context.Context, arg0 []tfchainclientgo.NruConsumption) (ret0 types.Hash, ret1 error)
- func (s *RegistrarGatewayStub) SetContractConsumption(ctx context.Context, arg0 ...tfchainclientgo.ContractResources) (ret0 error)
- func (s *RegistrarGatewayStub) SetNodePowerState(ctx context.Context, arg0 bool) (ret0 types.Hash, ret1 error)
- func (s *RegistrarGatewayStub) UpdateNode(ctx context.Context, arg0 client.Node) (ret0 error)
- func (s *RegistrarGatewayStub) UpdateNodeUptimeV2(ctx context.Context, arg0 uint64, arg1 int64) (ret0 error)
- type RegistrarStub
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IdentityManagerStub ¶
type IdentityManagerStub struct {
// contains filtered or unexported fields
}
func NewIdentityManagerStub ¶
func NewIdentityManagerStub(client zbus.Client) *IdentityManagerStub
func (*IdentityManagerStub) DecryptECDH ¶
func (*IdentityManagerStub) EncryptECDH ¶
func (*IdentityManagerStub) Farm ¶
func (s *IdentityManagerStub) Farm(ctx context.Context) (ret0 string, ret1 error)
func (*IdentityManagerStub) FarmID ¶
func (s *IdentityManagerStub) FarmID(ctx context.Context) (ret0 pkg.FarmID)
func (*IdentityManagerStub) FarmSecret ¶
func (s *IdentityManagerStub) FarmSecret(ctx context.Context) (ret0 string)
func (*IdentityManagerStub) NodeID ¶
func (s *IdentityManagerStub) NodeID(ctx context.Context) (ret0 pkg1.StrIdentifier)
func (*IdentityManagerStub) PrivateKey ¶
func (s *IdentityManagerStub) PrivateKey(ctx context.Context) (ret0 []uint8)
type RegistrarGatewayStub ¶
type RegistrarGatewayStub struct {
// contains filtered or unexported fields
}
func NewRegistrarGatewayStub ¶
func NewRegistrarGatewayStub(client zbus.Client) *RegistrarGatewayStub
func (*RegistrarGatewayStub) CreateNode ¶
func (*RegistrarGatewayStub) CreateTwin ¶
func (*RegistrarGatewayStub) EnsureAccount ¶
func (*RegistrarGatewayStub) GetContract ¶
func (s *RegistrarGatewayStub) GetContract(ctx context.Context, arg0 uint64) (ret0 tfchainclientgo.Contract, ret1 pkg.SubstrateError)
func (*RegistrarGatewayStub) GetContractIDByNameRegistration ¶
func (s *RegistrarGatewayStub) GetContractIDByNameRegistration(ctx context.Context, arg0 string) (ret0 uint64, ret1 pkg.SubstrateError)
func (*RegistrarGatewayStub) GetNodeByTwinID ¶
func (*RegistrarGatewayStub) GetNodeContracts ¶
func (*RegistrarGatewayStub) GetNodeRentContract ¶
func (s *RegistrarGatewayStub) GetNodeRentContract(ctx context.Context, arg0 uint32) (ret0 uint64, ret1 pkg.SubstrateError)
func (*RegistrarGatewayStub) GetPowerTarget ¶
func (s *RegistrarGatewayStub) GetPowerTarget(ctx context.Context) (ret0 tfchainclientgo.NodePower, ret1 error)
func (*RegistrarGatewayStub) GetTwinByPubKey ¶
func (*RegistrarGatewayStub) GetZosVersion ¶
func (s *RegistrarGatewayStub) GetZosVersion(ctx context.Context) (ret0 client.ZosVersion, ret1 error)
func (*RegistrarGatewayStub) Report ¶
func (s *RegistrarGatewayStub) Report(ctx context.Context, arg0 []tfchainclientgo.NruConsumption) (ret0 types.Hash, ret1 error)
func (*RegistrarGatewayStub) SetContractConsumption ¶
func (s *RegistrarGatewayStub) SetContractConsumption(ctx context.Context, arg0 ...tfchainclientgo.ContractResources) (ret0 error)
func (*RegistrarGatewayStub) SetNodePowerState ¶
func (*RegistrarGatewayStub) UpdateNode ¶
func (*RegistrarGatewayStub) UpdateNodeUptimeV2 ¶
type RegistrarStub ¶
type RegistrarStub struct {
// contains filtered or unexported fields
}
func NewRegistrarStub ¶
func NewRegistrarStub(client zbus.Client) *RegistrarStub
Click to show internal directories.
Click to hide internal directories.