stubs

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2025 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ContainerModuleStub added in v0.2.2

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

func NewContainerModuleStub added in v0.2.2

func NewContainerModuleStub(client zbus.Client) *ContainerModuleStub

func (*ContainerModuleStub) Delete added in v0.2.2

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

func (*ContainerModuleStub) Exec added in v0.2.2

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

func (*ContainerModuleStub) Inspect added in v0.2.2

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

func (*ContainerModuleStub) List added in v0.2.2

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

func (*ContainerModuleStub) ListNS added in v0.2.2

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

func (*ContainerModuleStub) Logs added in v0.2.2

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

func (*ContainerModuleStub) Run added in v0.2.2

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

func (*ContainerModuleStub) SignalDelete added in v0.2.2

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

type FlisterStub added in v0.2.2

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

func NewFlisterStub added in v0.2.2

func NewFlisterStub(client zbus.Client) *FlisterStub

func (*FlisterStub) Exists added in v0.2.2

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

func (*FlisterStub) FlistHash added in v0.2.2

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

func (*FlisterStub) HashFromRootPath added in v0.2.2

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

func (*FlisterStub) Mount added in v0.2.2

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

func (*FlisterStub) Unmount added in v0.2.2

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

func (*FlisterStub) UpdateMountSize added in v0.2.2

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

type GatewayStub added in v0.2.2

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

func NewGatewayStub added in v0.2.2

func NewGatewayStub(client zbus.Client) *GatewayStub

func (*GatewayStub) DeleteNamedProxy added in v0.2.2

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

func (*GatewayStub) Metrics added in v0.2.2

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

func (*GatewayStub) SetFQDNProxy added in v0.2.2

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

func (*GatewayStub) SetNamedProxy added in v0.2.2

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

type HostMonitorStub added in v0.2.2

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

func NewHostMonitorStub added in v0.2.2

func NewHostMonitorStub(client zbus.Client) *HostMonitorStub

func (*HostMonitorStub) Uptime added in v0.2.2

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 added in v0.2.2

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 added in v0.2.2

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

func NewNetworkerLightStub added in v0.2.2

func NewNetworkerLightStub(client zbus.Client) *NetworkerLightStub

func (*NetworkerLightStub) AttachMycelium added in v0.2.2

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

func (*NetworkerLightStub) AttachPrivate added in v0.2.2

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

func (*NetworkerLightStub) AttachZDB added in v0.2.2

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

func (*NetworkerLightStub) Create added in v0.2.2

func (s *NetworkerLightStub) Create(ctx context.Context, arg0 string, arg1 net.IPNet, arg2 []uint8) (ret0 error)

func (*NetworkerLightStub) Delete added in v0.2.2

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

func (*NetworkerLightStub) Detach added in v0.2.2

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

func (*NetworkerLightStub) GetSubnet added in v0.2.2

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

func (*NetworkerLightStub) Interfaces added in v0.2.2

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

func (*NetworkerLightStub) Namespace added in v0.2.2

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

func (*NetworkerLightStub) Ready added in v0.2.2

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

func (*NetworkerLightStub) ZDBIPs added in v0.2.2

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

func (*NetworkerLightStub) ZOSAddresses added in v0.2.2

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

type NetworkerStub added in v0.2.2

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

func NewNetworkerStub added in v0.2.2

func NewNetworkerStub(client zbus.Client) *NetworkerStub

func (*NetworkerStub) Addrs added in v0.2.2

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

func (*NetworkerStub) CreateNR added in v0.2.2

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

func (*NetworkerStub) DMZAddresses added in v0.2.2

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

func (*NetworkerStub) DeleteNR added in v0.2.2

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

func (*NetworkerStub) DisconnectPubTap added in v0.2.2

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

func (*NetworkerStub) EnsureZDBPrepare added in v0.2.2

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

func (*NetworkerStub) GetDefaultGwIP added in v0.2.2

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

func (*NetworkerStub) GetIPv6From4 added in v0.2.2

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

func (*NetworkerStub) GetNet added in v0.2.2

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

func (*NetworkerStub) GetPublicConfig added in v0.2.2

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

func (*NetworkerStub) GetPublicExitDevice added in v0.2.2

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

func (*NetworkerStub) GetPublicIPV6Gateway added in v0.2.2

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

func (*NetworkerStub) GetPublicIPv6Subnet added in v0.2.2

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

func (*NetworkerStub) GetSubnet added in v0.2.2

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

func (*NetworkerStub) Interfaces added in v0.2.2

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

func (*NetworkerStub) Metrics added in v0.2.2

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

func (*NetworkerStub) Namespace added in v0.2.2

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

func (*NetworkerStub) PubIPFilterExists added in v0.2.2

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

func (*NetworkerStub) PubTapExists added in v0.2.2

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

func (*NetworkerStub) PublicAddresses added in v0.2.2

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

func (*NetworkerStub) PublicIPv4Support added in v0.2.2

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

func (*NetworkerStub) QSFSDestroy added in v0.2.2

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

func (*NetworkerStub) QSFSNamespace added in v0.2.2

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

func (*NetworkerStub) QSFSPrepare added in v0.2.2

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

func (*NetworkerStub) QSFSYggIP added in v0.2.2

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

func (*NetworkerStub) Ready added in v0.2.2

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

func (*NetworkerStub) RemovePubIPFilter added in v0.2.2

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

func (*NetworkerStub) RemovePubTap added in v0.2.2

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

func (*NetworkerStub) RemoveTap added in v0.2.2

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

func (*NetworkerStub) SetPublicConfig added in v0.2.2

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

func (*NetworkerStub) SetPublicExitDevice added in v0.2.2

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

func (*NetworkerStub) SetupMyceliumTap added in v0.2.2

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

func (*NetworkerStub) SetupPrivTap added in v0.2.2

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

func (*NetworkerStub) SetupPubIPFilter added in v0.2.2

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

func (*NetworkerStub) SetupPubTap added in v0.2.2

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

func (*NetworkerStub) SetupYggTap added in v0.2.2

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

func (*NetworkerStub) TapExists added in v0.2.2

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

func (*NetworkerStub) UnsetPublicConfig added in v0.2.2

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

func (*NetworkerStub) WireguardPorts added in v0.2.2

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

func (*NetworkerStub) YggAddresses added in v0.2.2

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

func (*NetworkerStub) ZDBDestroy added in v0.2.2

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

func (*NetworkerStub) ZOSAddresses added in v0.2.2

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

type PerformanceMonitorStub added in v0.2.2

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

func NewPerformanceMonitorStub added in v0.2.2

func NewPerformanceMonitorStub(client zbus.Client) *PerformanceMonitorStub

func (*PerformanceMonitorStub) Get added in v0.2.2

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

func (*PerformanceMonitorStub) GetAll added in v0.2.2

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

type ProvisionStub added in v0.2.2

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

func NewProvisionStub added in v0.2.2

func NewProvisionStub(client zbus.Client) *ProvisionStub

func (*ProvisionStub) Changes added in v0.2.2

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

func (*ProvisionStub) CreateOrUpdate added in v0.2.2

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

func (*ProvisionStub) DecommissionCached added in v0.2.2

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

func (*ProvisionStub) Get added in v0.2.2

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

func (*ProvisionStub) GetWorkloadStatus added in v0.2.2

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

func (*ProvisionStub) List added in v0.2.2

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

func (*ProvisionStub) ListPrivateIPs added in v0.2.2

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

func (*ProvisionStub) ListPublicIPs added in v0.2.2

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

type QSFSDStub added in v0.2.2

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

func NewQSFSDStub added in v0.2.2

func NewQSFSDStub(client zbus.Client) *QSFSDStub

func (*QSFSDStub) Metrics added in v0.2.2

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

func (*QSFSDStub) Mount added in v0.2.2

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

func (*QSFSDStub) SignalDelete added in v0.2.2

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

func (*QSFSDStub) UpdateMount added in v0.2.2

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 added in v0.2.2

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

func NewStatisticsStub added in v0.2.2

func NewStatisticsStub(client zbus.Client) *StatisticsStub

func (*StatisticsStub) Current added in v0.2.2

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

func (*StatisticsStub) GetCounters added in v0.2.2

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

func (*StatisticsStub) ListGPUs added in v0.2.2

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

func (*StatisticsStub) ReservedStream added in v0.2.2

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

func (*StatisticsStub) Total added in v0.2.2

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

func (*StatisticsStub) Workloads added in v0.2.2

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

type StorageModuleStub added in v0.2.2

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

func NewStorageModuleStub added in v0.2.2

func NewStorageModuleStub(client zbus.Client) *StorageModuleStub

func (*StorageModuleStub) BrokenDevices added in v0.2.2

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

func (*StorageModuleStub) BrokenPools added in v0.2.2

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

func (*StorageModuleStub) Cache added in v0.2.2

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

func (*StorageModuleStub) DeviceAllocate added in v0.2.2

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

func (*StorageModuleStub) DeviceLookup added in v0.2.2

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

func (*StorageModuleStub) Devices added in v0.2.2

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

func (*StorageModuleStub) DiskCreate added in v0.2.2

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

func (*StorageModuleStub) DiskDelete added in v0.2.2

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

func (*StorageModuleStub) DiskExists added in v0.2.2

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

func (*StorageModuleStub) DiskFormat added in v0.2.2

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

func (*StorageModuleStub) DiskList added in v0.2.2

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

func (*StorageModuleStub) DiskLookup added in v0.2.2

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

func (*StorageModuleStub) DiskResize added in v0.2.2

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

func (*StorageModuleStub) DiskWrite added in v0.2.2

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

func (*StorageModuleStub) Metrics added in v0.2.2

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

func (*StorageModuleStub) Monitor added in v0.2.2

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

func (*StorageModuleStub) Total added in v0.2.2

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

func (*StorageModuleStub) VolumeCreate added in v0.2.2

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

func (*StorageModuleStub) VolumeDelete added in v0.2.2

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

func (*StorageModuleStub) VolumeExists added in v0.2.2

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

func (*StorageModuleStub) VolumeList added in v0.2.2

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

func (*StorageModuleStub) VolumeLookup added in v0.2.2

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

func (*StorageModuleStub) VolumeUpdate added in v0.2.2

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

type SubstrateGatewayStub added in v0.2.2

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

func NewSubstrateGatewayStub added in v0.2.2

func NewSubstrateGatewayStub(client zbus.Client) *SubstrateGatewayStub

func (*SubstrateGatewayStub) CreateNode added in v0.2.2

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

func (*SubstrateGatewayStub) CreateTwin added in v0.2.2

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

func (*SubstrateGatewayStub) EnsureAccount added in v0.2.2

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

func (*SubstrateGatewayStub) GetContract added in v0.2.2

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

func (*SubstrateGatewayStub) GetContractIDByNameRegistration added in v0.2.2

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

func (*SubstrateGatewayStub) GetFarm added in v0.2.2

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

func (*SubstrateGatewayStub) GetNode added in v0.2.2

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

func (*SubstrateGatewayStub) GetNodeByTwinID added in v0.2.2

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

func (*SubstrateGatewayStub) GetNodeContracts added in v0.2.2

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

func (*SubstrateGatewayStub) GetNodeRentContract added in v0.2.2

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

func (*SubstrateGatewayStub) GetNodes added in v0.2.2

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

func (*SubstrateGatewayStub) GetPowerTarget added in v0.2.2

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

func (*SubstrateGatewayStub) GetTime added in v0.2.2

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

func (*SubstrateGatewayStub) GetTwin added in v0.2.2

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

func (*SubstrateGatewayStub) GetTwinByPubKey added in v0.2.2

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

func (*SubstrateGatewayStub) GetZosVersion added in v0.2.2

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

func (*SubstrateGatewayStub) Report added in v0.2.2

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

func (*SubstrateGatewayStub) SetContractConsumption added in v0.2.2

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

func (*SubstrateGatewayStub) SetNodePowerState added in v0.2.2

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

func (*SubstrateGatewayStub) UpdateNode added in v0.2.2

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

func (*SubstrateGatewayStub) UpdateNodeUptimeV2 added in v0.2.2

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

type SystemMonitorStub added in v0.2.2

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

func NewSystemMonitorStub added in v0.2.2

func NewSystemMonitorStub(client zbus.Client) *SystemMonitorStub

func (*SystemMonitorStub) CPU added in v0.2.2

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

func (*SystemMonitorStub) Disks added in v0.2.2

func (*SystemMonitorStub) GetNodeFeatures added in v0.2.2

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

func (*SystemMonitorStub) Memory added in v0.2.2

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

func (*SystemMonitorStub) Nics added in v0.2.2

func (*SystemMonitorStub) NodeID added in v0.2.2

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

type VMModuleStub added in v0.2.2

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

func NewVMModuleStub added in v0.2.2

func NewVMModuleStub(client zbus.Client) *VMModuleStub

func (*VMModuleStub) Delete added in v0.2.2

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

func (*VMModuleStub) Exists added in v0.2.2

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

func (*VMModuleStub) Inspect added in v0.2.2

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

func (*VMModuleStub) List added in v0.2.2

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

func (*VMModuleStub) Lock added in v0.2.2

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

func (*VMModuleStub) Logs added in v0.2.2

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

func (*VMModuleStub) Metrics added in v0.2.2

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

func (*VMModuleStub) Run added in v0.2.2

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

func (*VMModuleStub) StreamCreate added in v0.2.2

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

func (*VMModuleStub) StreamDelete added in v0.2.2

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

type VersionMonitorStub added in v0.2.2

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

func NewVersionMonitorStub added in v0.2.2

func NewVersionMonitorStub(client zbus.Client) *VersionMonitorStub

func (*VersionMonitorStub) GetVersion added in v0.2.2

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

func (*VersionMonitorStub) Version added in v0.2.2

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

type ZUIStub added in v0.2.2

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

func NewZUIStub added in v0.2.2

func NewZUIStub(client zbus.Client) *ZUIStub

func (*ZUIStub) PushErrors added in v0.2.2

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