stubs

package
v1.1.4 Latest Latest
Warning

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

Go to latest
Published: Sep 23, 2026 License: Apache-2.0 Imports: 10 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ContainerModuleStub

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

func NewContainerModuleStub

func NewContainerModuleStub(client zbus.Client) *ContainerModuleStub

func (*ContainerModuleStub) Delete

func (s *ContainerModuleStub) Delete(ctx context.Context, arg0 string, arg1 pkg.ContainerID) (ret0 error)

func (*ContainerModuleStub) Exec

func (s *ContainerModuleStub) Exec(ctx context.Context, arg0 string, arg1 string, arg2 time.Duration, arg3 ...string) (ret0 error)

func (*ContainerModuleStub) Inspect

func (s *ContainerModuleStub) Inspect(ctx context.Context, arg0 string, arg1 pkg.ContainerID) (ret0 pkg.Container, ret1 error)

func (*ContainerModuleStub) List

func (s *ContainerModuleStub) List(ctx context.Context, arg0 string) (ret0 []pkg.ContainerID, ret1 error)

func (*ContainerModuleStub) ListNS

func (s *ContainerModuleStub) ListNS(ctx context.Context) (ret0 []string, ret1 error)

func (*ContainerModuleStub) Logs

func (s *ContainerModuleStub) Logs(ctx context.Context, arg0 string, arg1 string) (ret0 string, ret1 error)

func (*ContainerModuleStub) Run

func (s *ContainerModuleStub) Run(ctx context.Context, arg0 string, arg1 pkg.Container) (ret0 pkg.ContainerID, ret1 error)

func (*ContainerModuleStub) SignalDelete

func (s *ContainerModuleStub) SignalDelete(ctx context.Context, arg0 string, arg1 pkg.ContainerID) (ret0 error)

type FlisterStub

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

func NewFlisterStub

func NewFlisterStub(client zbus.Client) *FlisterStub

func (*FlisterStub) Exists

func (s *FlisterStub) Exists(ctx context.Context, arg0 string) (ret0 bool, ret1 error)

func (*FlisterStub) FlistHash

func (s *FlisterStub) FlistHash(ctx context.Context, arg0 string) (ret0 string, ret1 error)

func (*FlisterStub) HashFromRootPath

func (s *FlisterStub) HashFromRootPath(ctx context.Context, arg0 string) (ret0 string, ret1 error)

func (*FlisterStub) Mount

func (s *FlisterStub) Mount(ctx context.Context, arg0 string, arg1 string, arg2 pkg.MountOptions) (ret0 string, ret1 error)

func (*FlisterStub) Unmount

func (s *FlisterStub) Unmount(ctx context.Context, arg0 string) (ret0 error)

func (*FlisterStub) UpdateMountSize

func (s *FlisterStub) UpdateMountSize(ctx context.Context, arg0 string, arg1 gridtypes.Unit) (ret0 string, ret1 error)

type GatewayStub

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

func NewGatewayStub

func NewGatewayStub(client zbus.Client) *GatewayStub

func (*GatewayStub) DeleteNamedProxy

func (s *GatewayStub) DeleteNamedProxy(ctx context.Context, arg0 string) (ret0 error)

func (*GatewayStub) Metrics

func (s *GatewayStub) Metrics(ctx context.Context) (ret0 pkg.GatewayMetrics, ret1 error)

func (*GatewayStub) SetFQDNProxy

func (s *GatewayStub) SetFQDNProxy(ctx context.Context, arg0 string, arg1 zos.GatewayFQDNProxy) (ret0 error)

func (*GatewayStub) SetNamedProxy

func (s *GatewayStub) SetNamedProxy(ctx context.Context, arg0 string, arg1 zos.GatewayNameProxy) (ret0 string, ret1 error)

type HostMonitorStub

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

func NewHostMonitorStub

func NewHostMonitorStub(client zbus.Client) *HostMonitorStub

func (*HostMonitorStub) Uptime

func (s *HostMonitorStub) Uptime(ctx context.Context) (<-chan time.Duration, error)

type IdentityManagerStub

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

func NewIdentityManagerStub

func NewIdentityManagerStub(client zbus.Client) *IdentityManagerStub

func (*IdentityManagerStub) Address

func (s *IdentityManagerStub) Address(ctx context.Context) (ret0 pkg.Address, ret1 error)

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, ret1 error)

func (*IdentityManagerStub) FarmSecret

func (s *IdentityManagerStub) FarmSecret(ctx context.Context) (ret0 string, ret1 error)

func (*IdentityManagerStub) NodeID

func (s *IdentityManagerStub) NodeID(ctx context.Context) (ret0 pkg.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 NetworkerLightStub

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

func NewNetworkerLightStub

func NewNetworkerLightStub(client zbus.Client) *NetworkerLightStub

func (*NetworkerLightStub) AttachMycelium

func (s *NetworkerLightStub) AttachMycelium(ctx context.Context, arg0 string, arg1 string, arg2 []uint8) (ret0 pkg.TapDevice, ret1 error)

func (*NetworkerLightStub) AttachPrivate

func (s *NetworkerLightStub) AttachPrivate(ctx context.Context, arg0 string, arg1 string, arg2 []uint8) (ret0 pkg.TapDevice, ret1 error)

func (*NetworkerLightStub) AttachZDB

func (s *NetworkerLightStub) AttachZDB(ctx context.Context, arg0 string) (ret0 string, ret1 error)

func (*NetworkerLightStub) Create

func (s *NetworkerLightStub) Create(ctx context.Context, arg0 string, arg1 gridtypes.WorkloadID, arg2 zos.NetworkLight) (ret0 error)

func (*NetworkerLightStub) Delete

func (s *NetworkerLightStub) Delete(ctx context.Context, arg0 string) (ret0 error)

func (*NetworkerLightStub) Detach

func (s *NetworkerLightStub) Detach(ctx context.Context, arg0 string) (ret0 error)

func (*NetworkerLightStub) GetDefaultGwIP

func (s *NetworkerLightStub) GetDefaultGwIP(ctx context.Context, arg0 zos.NetID) (ret0 []uint8, ret1 error)

func (*NetworkerLightStub) GetNet

func (s *NetworkerLightStub) GetNet(ctx context.Context, arg0 zos.NetID) (ret0 net.IPNet, ret1 error)

func (*NetworkerLightStub) GetSubnet

func (s *NetworkerLightStub) GetSubnet(ctx context.Context, arg0 zos.NetID) (ret0 net.IPNet, ret1 error)

func (*NetworkerLightStub) Interfaces

func (s *NetworkerLightStub) Interfaces(ctx context.Context, arg0 string, arg1 string) (ret0 pkg.Interfaces, ret1 error)

func (*NetworkerLightStub) LoadPublicConfig

func (s *NetworkerLightStub) LoadPublicConfig(ctx context.Context) (ret0 pkg.PublicConfig, ret1 error)

func (*NetworkerLightStub) Namespace

func (s *NetworkerLightStub) Namespace(ctx context.Context, arg0 string) (ret0 string)

func (*NetworkerLightStub) Ready

func (s *NetworkerLightStub) Ready(ctx context.Context) (ret0 error)

func (*NetworkerLightStub) SetPublicConfig

func (s *NetworkerLightStub) SetPublicConfig(ctx context.Context, arg0 pkg.PublicConfig) (ret0 error)

func (*NetworkerLightStub) UnSetPublicConfig

func (s *NetworkerLightStub) UnSetPublicConfig(ctx context.Context) (ret0 error)

func (*NetworkerLightStub) WireguardPorts

func (s *NetworkerLightStub) WireguardPorts(ctx context.Context) (ret0 []uint, ret1 error)

func (*NetworkerLightStub) ZDBIPs

func (s *NetworkerLightStub) ZDBIPs(ctx context.Context, arg0 string) (ret0 [][]uint8, ret1 error)

func (*NetworkerLightStub) ZOSAddresses

func (s *NetworkerLightStub) ZOSAddresses(ctx context.Context) (<-chan pkg.NetlinkAddresses, error)

type NetworkerStub

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

func NewNetworkerStub

func NewNetworkerStub(client zbus.Client) *NetworkerStub

func (*NetworkerStub) Addrs

func (s *NetworkerStub) Addrs(ctx context.Context, arg0 string, arg1 string) (ret0 [][]uint8, ret1 string, ret2 error)

func (*NetworkerStub) CreateNR

func (s *NetworkerStub) CreateNR(ctx context.Context, arg0 gridtypes.WorkloadID, arg1 pkg.Network) (ret0 string, ret1 error)

func (*NetworkerStub) DMZAddresses

func (s *NetworkerStub) DMZAddresses(ctx context.Context) (<-chan pkg.NetlinkAddresses, error)

func (*NetworkerStub) DeleteNR

func (s *NetworkerStub) DeleteNR(ctx context.Context, arg0 gridtypes.WorkloadID) (ret0 error)

func (*NetworkerStub) DisconnectPubTap

func (s *NetworkerStub) DisconnectPubTap(ctx context.Context, arg0 string) (ret0 error)

func (*NetworkerStub) EnsureZDBPrepare

func (s *NetworkerStub) EnsureZDBPrepare(ctx context.Context, arg0 string) (ret0 string, ret1 error)

func (*NetworkerStub) GetDefaultGwIP

func (s *NetworkerStub) GetDefaultGwIP(ctx context.Context, arg0 zos.NetID) (ret0 []uint8, ret1 []uint8, ret2 error)

func (*NetworkerStub) GetIPv6From4

func (s *NetworkerStub) GetIPv6From4(ctx context.Context, arg0 zos.NetID, arg1 []uint8) (ret0 net.IPNet, ret1 error)

func (*NetworkerStub) GetNet

func (s *NetworkerStub) GetNet(ctx context.Context, arg0 zos.NetID) (ret0 net.IPNet, ret1 error)

func (*NetworkerStub) GetPublicConfig

func (s *NetworkerStub) GetPublicConfig(ctx context.Context) (ret0 pkg.PublicConfig, ret1 error)

func (*NetworkerStub) GetPublicExitDevice

func (s *NetworkerStub) GetPublicExitDevice(ctx context.Context) (ret0 pkg.ExitDevice, ret1 error)

func (*NetworkerStub) GetPublicIPV6Gateway

func (s *NetworkerStub) GetPublicIPV6Gateway(ctx context.Context) (ret0 []uint8, ret1 error)

func (*NetworkerStub) GetPublicIPv6Subnet

func (s *NetworkerStub) GetPublicIPv6Subnet(ctx context.Context) (ret0 net.IPNet, ret1 error)

func (*NetworkerStub) GetSubnet

func (s *NetworkerStub) GetSubnet(ctx context.Context, arg0 zos.NetID) (ret0 net.IPNet, ret1 error)

func (*NetworkerStub) Interfaces

func (s *NetworkerStub) Interfaces(ctx context.Context, arg0 string, arg1 string) (ret0 pkg.Interfaces, ret1 error)

func (*NetworkerStub) Metrics

func (s *NetworkerStub) Metrics(ctx context.Context) (ret0 pkg.NetResourceMetrics, ret1 error)

func (*NetworkerStub) MigrateZdbMacvlanToVeth

func (s *NetworkerStub) MigrateZdbMacvlanToVeth(ctx context.Context) (ret0 error)

func (*NetworkerStub) Namespace

func (s *NetworkerStub) Namespace(ctx context.Context, arg0 zos.NetID) (ret0 string)

func (*NetworkerStub) PubIPFilterExists

func (s *NetworkerStub) PubIPFilterExists(ctx context.Context, arg0 string) (ret0 bool)

func (*NetworkerStub) PubTapExists

func (s *NetworkerStub) PubTapExists(ctx context.Context, arg0 string) (ret0 bool, ret1 error)

func (*NetworkerStub) PublicAddresses

func (s *NetworkerStub) PublicAddresses(ctx context.Context) (<-chan pkg.OptionPublicConfig, error)

func (*NetworkerStub) PublicIPv4Support

func (s *NetworkerStub) PublicIPv4Support(ctx context.Context) (ret0 bool)

func (*NetworkerStub) QSFSDestroy

func (s *NetworkerStub) QSFSDestroy(ctx context.Context, arg0 string) (ret0 error)

func (*NetworkerStub) QSFSNamespace

func (s *NetworkerStub) QSFSNamespace(ctx context.Context, arg0 string) (ret0 string)

func (*NetworkerStub) QSFSPrepare

func (s *NetworkerStub) QSFSPrepare(ctx context.Context, arg0 string) (ret0 string, ret1 string, ret2 error)

func (*NetworkerStub) QSFSYggIP

func (s *NetworkerStub) QSFSYggIP(ctx context.Context, arg0 string) (ret0 string, ret1 error)

func (*NetworkerStub) Ready

func (s *NetworkerStub) Ready(ctx context.Context) (ret0 error)

func (*NetworkerStub) RemovePubIPFilter

func (s *NetworkerStub) RemovePubIPFilter(ctx context.Context, arg0 string) (ret0 error)

func (*NetworkerStub) RemovePubTap

func (s *NetworkerStub) RemovePubTap(ctx context.Context, arg0 string) (ret0 error)

func (*NetworkerStub) RemoveTap

func (s *NetworkerStub) RemoveTap(ctx context.Context, arg0 string) (ret0 error)

func (*NetworkerStub) SetPublicConfig

func (s *NetworkerStub) SetPublicConfig(ctx context.Context, arg0 pkg.PublicConfig) (ret0 error)

func (*NetworkerStub) SetPublicExitDevice

func (s *NetworkerStub) SetPublicExitDevice(ctx context.Context, arg0 string) (ret0 error)

func (*NetworkerStub) SetupMyceliumTap

func (s *NetworkerStub) SetupMyceliumTap(ctx context.Context, arg0 string, arg1 zos.NetID, arg2 zos.MyceliumIP) (ret0 pkg.PlanetaryTap, ret1 error)

func (*NetworkerStub) SetupPrivTap

func (s *NetworkerStub) SetupPrivTap(ctx context.Context, arg0 zos.NetID, arg1 string) (ret0 string, ret1 error)

func (*NetworkerStub) SetupPubIPFilter

func (s *NetworkerStub) SetupPubIPFilter(ctx context.Context, arg0 string, arg1 string, arg2 []uint8, arg3 []uint8, arg4 string) (ret0 error)

func (*NetworkerStub) SetupPubTap

func (s *NetworkerStub) SetupPubTap(ctx context.Context, arg0 string) (ret0 string, ret1 error)

func (*NetworkerStub) SetupYggTap

func (s *NetworkerStub) SetupYggTap(ctx context.Context, arg0 string) (ret0 pkg.PlanetaryTap, ret1 error)

func (*NetworkerStub) TapExists

func (s *NetworkerStub) TapExists(ctx context.Context, arg0 string) (ret0 bool, ret1 error)

func (*NetworkerStub) UnsetPublicConfig

func (s *NetworkerStub) UnsetPublicConfig(ctx context.Context) (ret0 error)

func (*NetworkerStub) WireguardPorts

func (s *NetworkerStub) WireguardPorts(ctx context.Context) (ret0 []uint, ret1 error)

func (*NetworkerStub) YggAddresses

func (s *NetworkerStub) YggAddresses(ctx context.Context) (<-chan pkg.NetlinkAddresses, error)

func (*NetworkerStub) ZDBDestroy

func (s *NetworkerStub) ZDBDestroy(ctx context.Context, arg0 string) (ret0 error)

func (*NetworkerStub) ZOSAddresses

func (s *NetworkerStub) ZOSAddresses(ctx context.Context) (<-chan pkg.NetlinkAddresses, error)

type PerformanceMonitorStub

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

func NewPerformanceMonitorStub

func NewPerformanceMonitorStub(client zbus.Client) *PerformanceMonitorStub

func (*PerformanceMonitorStub) Get

func (s *PerformanceMonitorStub) Get(ctx context.Context, arg0 string) (ret0 pkg.TaskResult, ret1 error)

func (*PerformanceMonitorStub) GetAll

func (s *PerformanceMonitorStub) GetAll(ctx context.Context) (ret0 []pkg.TaskResult, ret1 error)

type ProvisionStub

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

func NewProvisionStub

func NewProvisionStub(client zbus.Client) *ProvisionStub

func (*ProvisionStub) Changes

func (s *ProvisionStub) Changes(ctx context.Context, arg0 uint32, arg1 uint64) (ret0 []gridtypes.Workload, ret1 error)

func (*ProvisionStub) CreateOrUpdate

func (s *ProvisionStub) CreateOrUpdate(ctx context.Context, arg0 uint32, arg1 gridtypes.Deployment, arg2 bool) (ret0 error)

func (*ProvisionStub) DecommissionCached

func (s *ProvisionStub) DecommissionCached(ctx context.Context, arg0 string, arg1 string) (ret0 error)

func (*ProvisionStub) Get

func (s *ProvisionStub) Get(ctx context.Context, arg0 uint32, arg1 uint64) (ret0 gridtypes.Deployment, ret1 error)

func (*ProvisionStub) GetWorkloadStatus

func (s *ProvisionStub) GetWorkloadStatus(ctx context.Context, arg0 string) (ret0 gridtypes.ResultState, ret1 bool, ret2 error)

func (*ProvisionStub) List

func (s *ProvisionStub) List(ctx context.Context, arg0 uint32) (ret0 []gridtypes.Deployment, ret1 error)

func (*ProvisionStub) ListPrivateIPs

func (s *ProvisionStub) ListPrivateIPs(ctx context.Context, arg0 uint32, arg1 gridtypes.Name) (ret0 []string, ret1 error)

func (*ProvisionStub) ListPublicIPs

func (s *ProvisionStub) ListPublicIPs(ctx context.Context) (ret0 []string, ret1 error)

func (*ProvisionStub) ListTwins

func (s *ProvisionStub) ListTwins(ctx context.Context) (ret0 []uint32, ret1 error)

func (*ProvisionStub) PauseDeployment added in v1.1.3

func (s *ProvisionStub) PauseDeployment(ctx context.Context, arg0 uint32, arg1 uint64) (ret0 error)

func (*ProvisionStub) PrepareDeployment added in v1.1.3

func (s *ProvisionStub) PrepareDeployment(ctx context.Context, arg0 uint32, arg1 gridtypes.Deployment) (ret0 error)

func (*ProvisionStub) StartDeployment added in v1.1.3

func (s *ProvisionStub) StartDeployment(ctx context.Context, arg0 uint32, arg1 uint64) (ret0 error)

type QSFSDStub

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

func NewQSFSDStub

func NewQSFSDStub(client zbus.Client) *QSFSDStub

func (*QSFSDStub) Metrics

func (s *QSFSDStub) Metrics(ctx context.Context) (ret0 pkg.QSFSMetrics, ret1 error)

func (*QSFSDStub) Mount

func (s *QSFSDStub) Mount(ctx context.Context, arg0 string, arg1 zos.QuantumSafeFS) (ret0 pkg.QSFSInfo, ret1 error)

func (*QSFSDStub) SignalDelete

func (s *QSFSDStub) SignalDelete(ctx context.Context, arg0 string) (ret0 error)

func (*QSFSDStub) UpdateMount

func (s *QSFSDStub) UpdateMount(ctx context.Context, arg0 string, arg1 zos.QuantumSafeFS) (ret0 pkg.QSFSInfo, ret1 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)

type StatisticsStub

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

func NewStatisticsStub

func NewStatisticsStub(client zbus.Client) *StatisticsStub

func (*StatisticsStub) Current

func (s *StatisticsStub) Current(ctx context.Context) (ret0 gridtypes.Capacity, ret1 error)

func (*StatisticsStub) GetCounters

func (s *StatisticsStub) GetCounters(ctx context.Context) (ret0 pkg.Counters, ret1 error)

func (*StatisticsStub) ListGPUs

func (s *StatisticsStub) ListGPUs(ctx context.Context) (ret0 []pkg.GPUInfo, ret1 error)

func (*StatisticsStub) ReservedStream

func (s *StatisticsStub) ReservedStream(ctx context.Context) (<-chan gridtypes.Capacity, error)

func (*StatisticsStub) Total

func (s *StatisticsStub) Total(ctx context.Context) (ret0 gridtypes.Capacity)

func (*StatisticsStub) Workloads

func (s *StatisticsStub) Workloads(ctx context.Context) (ret0 int, ret1 error)

type StorageModuleStub

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

func NewStorageModuleStub

func NewStorageModuleStub(client zbus.Client) *StorageModuleStub

func (*StorageModuleStub) BrokenDevices

func (s *StorageModuleStub) BrokenDevices(ctx context.Context) (ret0 []pkg.BrokenDevice)

func (*StorageModuleStub) BrokenPools

func (s *StorageModuleStub) BrokenPools(ctx context.Context) (ret0 []pkg.BrokenPool)

func (*StorageModuleStub) Cache

func (s *StorageModuleStub) Cache(ctx context.Context) (ret0 pkg.Volume, ret1 error)

func (*StorageModuleStub) DeviceAllocate

func (s *StorageModuleStub) DeviceAllocate(ctx context.Context, arg0 gridtypes.Unit) (ret0 pkg.Device, ret1 error)

func (*StorageModuleStub) DeviceLookup

func (s *StorageModuleStub) DeviceLookup(ctx context.Context, arg0 string) (ret0 pkg.Device, ret1 error)

func (*StorageModuleStub) Devices

func (s *StorageModuleStub) Devices(ctx context.Context) (ret0 []pkg.Device, ret1 error)

func (*StorageModuleStub) DiskCreate

func (s *StorageModuleStub) DiskCreate(ctx context.Context, arg0 string, arg1 gridtypes.Unit) (ret0 pkg.VDisk, ret1 error)

func (*StorageModuleStub) DiskDelete

func (s *StorageModuleStub) DiskDelete(ctx context.Context, arg0 string) (ret0 error)

func (*StorageModuleStub) DiskDownload added in v1.1.3

func (s *StorageModuleStub) DiskDownload(ctx context.Context, arg0 string, arg1 string) (ret0 error)

func (*StorageModuleStub) DiskExists

func (s *StorageModuleStub) DiskExists(ctx context.Context, arg0 string) (ret0 bool)

func (*StorageModuleStub) DiskFormat

func (s *StorageModuleStub) DiskFormat(ctx context.Context, arg0 string) (ret0 error)

func (*StorageModuleStub) DiskList

func (s *StorageModuleStub) DiskList(ctx context.Context) (ret0 []pkg.VDisk, ret1 error)

func (*StorageModuleStub) DiskLookup

func (s *StorageModuleStub) DiskLookup(ctx context.Context, arg0 string) (ret0 pkg.VDisk, ret1 error)

func (*StorageModuleStub) DiskResize

func (s *StorageModuleStub) DiskResize(ctx context.Context, arg0 string, arg1 gridtypes.Unit) (ret0 pkg.VDisk, ret1 error)

func (*StorageModuleStub) DiskUpload added in v1.1.3

func (s *StorageModuleStub) DiskUpload(ctx context.Context, arg0 string, arg1 string) (ret0 error)

func (*StorageModuleStub) DiskWrite

func (s *StorageModuleStub) DiskWrite(ctx context.Context, arg0 string, arg1 string) (ret0 error)

func (*StorageModuleStub) Metrics

func (s *StorageModuleStub) Metrics(ctx context.Context) (ret0 []pkg.PoolMetrics, ret1 error)

func (*StorageModuleStub) Monitor

func (s *StorageModuleStub) Monitor(ctx context.Context) (<-chan pkg.PoolsStats, error)

func (*StorageModuleStub) Total

func (s *StorageModuleStub) Total(ctx context.Context, arg0 zos.DeviceType) (ret0 uint64, ret1 error)

func (*StorageModuleStub) VolumeCreate

func (s *StorageModuleStub) VolumeCreate(ctx context.Context, arg0 string, arg1 gridtypes.Unit) (ret0 pkg.Volume, ret1 error)

func (*StorageModuleStub) VolumeDelete

func (s *StorageModuleStub) VolumeDelete(ctx context.Context, arg0 string) (ret0 error)

func (*StorageModuleStub) VolumeDownload added in v1.1.3

func (s *StorageModuleStub) VolumeDownload(ctx context.Context, arg0 string, arg1 gridtypes.Unit, arg2 string) (ret0 error)

func (*StorageModuleStub) VolumeExists

func (s *StorageModuleStub) VolumeExists(ctx context.Context, arg0 string) (ret0 bool, ret1 error)

func (*StorageModuleStub) VolumeList

func (s *StorageModuleStub) VolumeList(ctx context.Context) (ret0 []pkg.Volume, ret1 error)

func (*StorageModuleStub) VolumeLookup

func (s *StorageModuleStub) VolumeLookup(ctx context.Context, arg0 string) (ret0 pkg.Volume, ret1 error)

func (*StorageModuleStub) VolumeUpdate

func (s *StorageModuleStub) VolumeUpdate(ctx context.Context, arg0 string, arg1 gridtypes.Unit) (ret0 error)

func (*StorageModuleStub) VolumeUpload added in v1.1.3

func (s *StorageModuleStub) VolumeUpload(ctx context.Context, arg0 string, arg1 string) (ret0 error)

type SubstrateGatewayStub

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

func NewSubstrateGatewayStub

func NewSubstrateGatewayStub(client zbus.Client) *SubstrateGatewayStub

func (*SubstrateGatewayStub) CreateNode

func (s *SubstrateGatewayStub) CreateNode(ctx context.Context, arg0 tfchainclientgo.Node) (ret0 uint32, ret1 error)

func (*SubstrateGatewayStub) CreateTwin

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

func (*SubstrateGatewayStub) EnsureAccount

func (s *SubstrateGatewayStub) EnsureAccount(ctx context.Context, arg0 []string, arg1 string, arg2 string) (ret0 tfchainclientgo.AccountInfo, ret1 error)

func (*SubstrateGatewayStub) GetContract

func (s *SubstrateGatewayStub) GetContract(ctx context.Context, arg0 uint64) (ret0 tfchainclientgo.Contract, ret1 pkg.SubstrateError)

func (*SubstrateGatewayStub) GetContractIDByNameRegistration

func (s *SubstrateGatewayStub) GetContractIDByNameRegistration(ctx context.Context, arg0 string) (ret0 uint64, ret1 pkg.SubstrateError)

func (*SubstrateGatewayStub) GetCouncilMembers added in v1.1.3

func (s *SubstrateGatewayStub) GetCouncilMembers(ctx context.Context) (ret0 []types.AccountID, ret1 pkg.SubstrateError)

func (*SubstrateGatewayStub) GetFarm

func (s *SubstrateGatewayStub) GetFarm(ctx context.Context, arg0 uint32) (ret0 tfchainclientgo.Farm, ret1 error)

func (*SubstrateGatewayStub) GetNode

func (s *SubstrateGatewayStub) GetNode(ctx context.Context, arg0 uint32) (ret0 tfchainclientgo.Node, ret1 error)

func (*SubstrateGatewayStub) GetNodeByTwinID

func (s *SubstrateGatewayStub) GetNodeByTwinID(ctx context.Context, arg0 uint32) (ret0 uint32, ret1 pkg.SubstrateError)

func (*SubstrateGatewayStub) GetNodeContracts

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

func (*SubstrateGatewayStub) GetNodeRentContract

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

func (*SubstrateGatewayStub) GetNodes

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

func (*SubstrateGatewayStub) GetPowerTarget

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

func (*SubstrateGatewayStub) GetTime

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

func (*SubstrateGatewayStub) GetTwin

func (s *SubstrateGatewayStub) GetTwin(ctx context.Context, arg0 uint32) (ret0 tfchainclientgo.Twin, ret1 error)

func (*SubstrateGatewayStub) GetTwinByPubKey

func (s *SubstrateGatewayStub) GetTwinByPubKey(ctx context.Context, arg0 []uint8) (ret0 uint32, ret1 pkg.SubstrateError)

func (*SubstrateGatewayStub) GetZosVersion

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

func (*SubstrateGatewayStub) Report

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

func (*SubstrateGatewayStub) SetContractConsumption

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

func (*SubstrateGatewayStub) SetNodePowerState

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

func (*SubstrateGatewayStub) UpdateNode

func (s *SubstrateGatewayStub) UpdateNode(ctx context.Context, arg0 tfchainclientgo.Node) (ret0 uint32, ret1 error)

func (*SubstrateGatewayStub) UpdateNodeUptimeV2

func (s *SubstrateGatewayStub) UpdateNodeUptimeV2(ctx context.Context, arg0 uint64, arg1 uint64) (ret0 types.Hash, ret1 error)

func (*SubstrateGatewayStub) UpdateSubstrateGatewayConnection

func (s *SubstrateGatewayStub) UpdateSubstrateGatewayConnection(ctx context.Context, arg0 tfchainclientgo.Manager) (ret0 error)

type SystemMonitorStub

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

func NewSystemMonitorStub

func NewSystemMonitorStub(client zbus.Client) *SystemMonitorStub

func (*SystemMonitorStub) CPU

func (s *SystemMonitorStub) CPU(ctx context.Context) (<-chan pkg.TimesStat, error)

func (*SystemMonitorStub) Disks

func (*SystemMonitorStub) GetNodeFeatures

func (s *SystemMonitorStub) GetNodeFeatures(ctx context.Context) (ret0 []pkg.NodeFeature)

func (*SystemMonitorStub) Memory

func (s *SystemMonitorStub) Memory(ctx context.Context) (<-chan pkg.VirtualMemoryStat, error)

func (*SystemMonitorStub) Nics

func (*SystemMonitorStub) NodeID

func (s *SystemMonitorStub) NodeID(ctx context.Context) (ret0 uint32)

type VMModuleStub

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

func NewVMModuleStub

func NewVMModuleStub(client zbus.Client) *VMModuleStub

func (*VMModuleStub) Delete

func (s *VMModuleStub) Delete(ctx context.Context, arg0 string) (ret0 error)

func (*VMModuleStub) Exists

func (s *VMModuleStub) Exists(ctx context.Context, arg0 string) (ret0 bool)

func (*VMModuleStub) Inspect

func (s *VMModuleStub) Inspect(ctx context.Context, arg0 string) (ret0 pkg.VMInfo, ret1 error)

func (*VMModuleStub) List

func (s *VMModuleStub) List(ctx context.Context) (ret0 []string, ret1 error)

func (*VMModuleStub) Lock

func (s *VMModuleStub) Lock(ctx context.Context, arg0 string, arg1 bool) (ret0 error)

func (*VMModuleStub) Logs

func (s *VMModuleStub) Logs(ctx context.Context, arg0 string) (ret0 string, ret1 error)

func (*VMModuleStub) LogsFull

func (s *VMModuleStub) LogsFull(ctx context.Context, arg0 string) (ret0 string, ret1 error)

func (*VMModuleStub) Metrics

func (s *VMModuleStub) Metrics(ctx context.Context) (ret0 pkg.MachineMetrics, ret1 error)

func (*VMModuleStub) Run

func (s *VMModuleStub) Run(ctx context.Context, arg0 pkg.VM) (ret0 pkg.MachineInfo, ret1 error)

func (*VMModuleStub) StreamCreate

func (s *VMModuleStub) StreamCreate(ctx context.Context, arg0 string, arg1 pkg.Stream) (ret0 error)

func (*VMModuleStub) StreamDelete

func (s *VMModuleStub) StreamDelete(ctx context.Context, arg0 string) (ret0 error)

type VersionMonitorStub

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

func NewVersionMonitorStub

func NewVersionMonitorStub(client zbus.Client) *VersionMonitorStub

func (*VersionMonitorStub) GetVersion

func (s *VersionMonitorStub) GetVersion(ctx context.Context) (ret0 semver.Version)

func (*VersionMonitorStub) Version

func (s *VersionMonitorStub) Version(ctx context.Context) (<-chan semver.Version, error)

type ZUIStub

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

func NewZUIStub

func NewZUIStub(client zbus.Client) *ZUIStub

func (*ZUIStub) PushErrors

func (s *ZUIStub) PushErrors(ctx context.Context, arg0 string, arg1 []string) (ret0 error)

Jump to

Keyboard shortcuts

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