stubs

package
v0.1.8 Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2025 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

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) Decrypt

func (s *IdentityManagerStub) Decrypt(ctx context.Context, arg0 []uint8) (ret0 []uint8, ret1 error)

func (*IdentityManagerStub) DecryptECDH

func (s *IdentityManagerStub) DecryptECDH(ctx context.Context, arg0 []uint8, arg1 []uint8) (ret0 []uint8, ret1 error)

func (*IdentityManagerStub) Encrypt

func (s *IdentityManagerStub) Encrypt(ctx context.Context, arg0 []uint8) (ret0 []uint8, ret1 error)

func (*IdentityManagerStub) EncryptECDH

func (s *IdentityManagerStub) EncryptECDH(ctx context.Context, arg0 []uint8, arg1 []uint8) (ret0 []uint8, ret1 error)

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)

func (*IdentityManagerStub) Sign

func (s *IdentityManagerStub) Sign(ctx context.Context, arg0 []uint8) (ret0 []uint8, ret1 error)

func (*IdentityManagerStub) StoreKind

func (s *IdentityManagerStub) StoreKind(ctx context.Context) (ret0 string)

func (*IdentityManagerStub) Verify

func (s *IdentityManagerStub) Verify(ctx context.Context, arg0 []uint8, arg1 []uint8) (ret0 error)

type RegistrarGatewayStub

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

func NewRegistrarGatewayStub

func NewRegistrarGatewayStub(client zbus.Client) *RegistrarGatewayStub

func (*RegistrarGatewayStub) CreateNode

func (s *RegistrarGatewayStub) CreateNode(ctx context.Context, arg0 types.UpdateNodeRequest) (ret0 uint64, ret1 error)

func (*RegistrarGatewayStub) CreateTwin

func (s *RegistrarGatewayStub) CreateTwin(ctx context.Context, arg0 string, arg1 []uint8) (ret0 types.Account, ret1 error)

func (*RegistrarGatewayStub) EnsureAccount

func (s *RegistrarGatewayStub) EnsureAccount(ctx context.Context, arg0 []uint8) (ret0 types.Account, ret1 error)

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) GetFarm

func (s *RegistrarGatewayStub) GetFarm(ctx context.Context, arg0 uint64) (ret0 types.Farm, ret1 error)

func (*RegistrarGatewayStub) GetNode

func (s *RegistrarGatewayStub) GetNode(ctx context.Context, arg0 uint64) (ret0 types.Node, ret1 error)

func (*RegistrarGatewayStub) GetNodeByTwinID

func (s *RegistrarGatewayStub) GetNodeByTwinID(ctx context.Context, arg0 uint64) (ret0 uint64, ret1 error)

func (*RegistrarGatewayStub) GetNodeContracts

func (s *RegistrarGatewayStub) GetNodeContracts(ctx context.Context, arg0 uint32) (ret0 []types1.U64, ret1 error)

func (*RegistrarGatewayStub) GetNodeRentContract

func (s *RegistrarGatewayStub) GetNodeRentContract(ctx context.Context, arg0 uint32) (ret0 uint64, ret1 pkg.SubstrateError)

func (*RegistrarGatewayStub) GetNodes

func (s *RegistrarGatewayStub) GetNodes(ctx context.Context, arg0 uint32) (ret0 []uint32, ret1 error)

func (*RegistrarGatewayStub) GetPowerTarget

func (s *RegistrarGatewayStub) GetPowerTarget(ctx context.Context) (ret0 tfchainclientgo.NodePower, ret1 error)

func (*RegistrarGatewayStub) GetTime

func (s *RegistrarGatewayStub) GetTime(ctx context.Context) (ret0 time.Time, ret1 error)

func (*RegistrarGatewayStub) GetTwin

func (s *RegistrarGatewayStub) GetTwin(ctx context.Context, arg0 uint64) (ret0 types.Account, ret1 error)

func (*RegistrarGatewayStub) GetTwinByPubKey

func (s *RegistrarGatewayStub) GetTwinByPubKey(ctx context.Context, arg0 []uint8) (ret0 uint64, ret1 error)

func (*RegistrarGatewayStub) GetZosVersion

func (s *RegistrarGatewayStub) GetZosVersion(ctx context.Context) (ret0 string, ret1 error)

func (*RegistrarGatewayStub) Report

func (s *RegistrarGatewayStub) Report(ctx context.Context, arg0 []tfchainclientgo.NruConsumption) (ret0 types1.Hash, ret1 error)

func (*RegistrarGatewayStub) SetContractConsumption

func (s *RegistrarGatewayStub) SetContractConsumption(ctx context.Context, arg0 ...tfchainclientgo.ContractResources) (ret0 error)

func (*RegistrarGatewayStub) SetNodePowerState

func (s *RegistrarGatewayStub) SetNodePowerState(ctx context.Context, arg0 bool) (ret0 types1.Hash, ret1 error)

func (*RegistrarGatewayStub) UpdateNode

func (s *RegistrarGatewayStub) UpdateNode(ctx context.Context, arg0 types.UpdateNodeRequest) (ret0 uint64, ret1 error)

func (*RegistrarGatewayStub) UpdateNodeUptimeV2

func (s *RegistrarGatewayStub) UpdateNodeUptimeV2(ctx context.Context, arg0 uint64, arg1 uint64) (ret0 error)

type RegistrarStub

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

func NewRegistrarStub

func NewRegistrarStub(client zbus.Client) *RegistrarStub

func (*RegistrarStub) NodeID

func (s *RegistrarStub) NodeID(ctx context.Context) (ret0 uint32, ret1 error)

func (*RegistrarStub) TwinID

func (s *RegistrarStub) TwinID(ctx context.Context) (ret0 uint32, ret1 error)

Jump to

Keyboard shortcuts

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