Documentation
¶
Index ¶
- type ContainerModuleStub
- func (s *ContainerModuleStub) Delete(ctx context.Context, arg0 string, arg1 pkg.ContainerID) (ret0 error)
- func (s *ContainerModuleStub) Exec(ctx context.Context, arg0 string, arg1 string, arg2 time.Duration, ...) (ret0 error)
- func (s *ContainerModuleStub) Inspect(ctx context.Context, arg0 string, arg1 pkg.ContainerID) (ret0 pkg.Container, ret1 error)
- func (s *ContainerModuleStub) List(ctx context.Context, arg0 string) (ret0 []pkg.ContainerID, ret1 error)
- func (s *ContainerModuleStub) ListNS(ctx context.Context) (ret0 []string, ret1 error)
- func (s *ContainerModuleStub) Logs(ctx context.Context, arg0 string, arg1 string) (ret0 string, ret1 error)
- func (s *ContainerModuleStub) Run(ctx context.Context, arg0 string, arg1 pkg.Container) (ret0 pkg.ContainerID, ret1 error)
- func (s *ContainerModuleStub) SignalDelete(ctx context.Context, arg0 string, arg1 pkg.ContainerID) (ret0 error)
- type FlisterStub
- func (s *FlisterStub) Exists(ctx context.Context, arg0 string) (ret0 bool, ret1 error)
- func (s *FlisterStub) FlistHash(ctx context.Context, arg0 string) (ret0 string, ret1 error)
- func (s *FlisterStub) HashFromRootPath(ctx context.Context, arg0 string) (ret0 string, ret1 error)
- func (s *FlisterStub) Mount(ctx context.Context, arg0 string, arg1 string, arg2 pkg.MountOptions) (ret0 string, ret1 error)
- func (s *FlisterStub) Unmount(ctx context.Context, arg0 string) (ret0 error)
- func (s *FlisterStub) UpdateMountSize(ctx context.Context, arg0 string, arg1 gridtypes.Unit) (ret0 string, ret1 error)
- type GatewayStub
- func (s *GatewayStub) DeleteNamedProxy(ctx context.Context, arg0 string) (ret0 error)
- func (s *GatewayStub) Metrics(ctx context.Context) (ret0 pkg.GatewayMetrics, ret1 error)
- func (s *GatewayStub) SetFQDNProxy(ctx context.Context, arg0 string, arg1 zos.GatewayFQDNProxy) (ret0 error)
- func (s *GatewayStub) SetNamedProxy(ctx context.Context, arg0 string, arg1 zos.GatewayNameProxy) (ret0 string, ret1 error)
- type HostMonitorStub
- type IdentityManagerStub
- func (s *IdentityManagerStub) Address(ctx context.Context) (ret0 pkg.Address, ret1 error)
- 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, ret1 error)
- func (s *IdentityManagerStub) FarmSecret(ctx context.Context) (ret0 string, ret1 error)
- func (s *IdentityManagerStub) NodeID(ctx context.Context) (ret0 pkg.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 NetworkerLightStub
- func (s *NetworkerLightStub) AttachMycelium(ctx context.Context, arg0 string, arg1 string, arg2 []uint8) (ret0 pkg.TapDevice, ret1 error)
- func (s *NetworkerLightStub) AttachPrivate(ctx context.Context, arg0 string, arg1 string, arg2 []uint8) (ret0 pkg.TapDevice, ret1 error)
- func (s *NetworkerLightStub) AttachZDB(ctx context.Context, arg0 string) (ret0 string, ret1 error)
- func (s *NetworkerLightStub) Create(ctx context.Context, arg0 string, arg1 net.IPNet, arg2 []uint8) (ret0 error)
- func (s *NetworkerLightStub) Delete(ctx context.Context, arg0 string) (ret0 error)
- func (s *NetworkerLightStub) Detach(ctx context.Context, arg0 string) (ret0 error)
- func (s *NetworkerLightStub) GetSubnet(ctx context.Context, arg0 zos.NetID) (ret0 net.IPNet, ret1 error)
- func (s *NetworkerLightStub) Interfaces(ctx context.Context, arg0 string, arg1 string) (ret0 pkg.Interfaces, ret1 error)
- func (s *NetworkerLightStub) Namespace(ctx context.Context, arg0 string) (ret0 string)
- func (s *NetworkerLightStub) Ready(ctx context.Context) (ret0 error)
- func (s *NetworkerLightStub) ZDBIPs(ctx context.Context, arg0 string) (ret0 [][]uint8, ret1 error)
- func (s *NetworkerLightStub) ZOSAddresses(ctx context.Context) (<-chan pkg.NetlinkAddresses, error)
- type NetworkerStub
- func (s *NetworkerStub) Addrs(ctx context.Context, arg0 string, arg1 string) (ret0 [][]uint8, ret1 string, ret2 error)
- func (s *NetworkerStub) CreateNR(ctx context.Context, arg0 gridtypes.WorkloadID, arg1 pkg.Network) (ret0 string, ret1 error)
- func (s *NetworkerStub) DMZAddresses(ctx context.Context) (<-chan pkg.NetlinkAddresses, error)
- func (s *NetworkerStub) DeleteNR(ctx context.Context, arg0 gridtypes.WorkloadID) (ret0 error)
- func (s *NetworkerStub) DisconnectPubTap(ctx context.Context, arg0 string) (ret0 error)
- func (s *NetworkerStub) EnsureZDBPrepare(ctx context.Context, arg0 string) (ret0 string, ret1 error)
- func (s *NetworkerStub) GetDefaultGwIP(ctx context.Context, arg0 zos.NetID) (ret0 []uint8, ret1 []uint8, ret2 error)
- func (s *NetworkerStub) GetIPv6From4(ctx context.Context, arg0 zos.NetID, arg1 []uint8) (ret0 net.IPNet, ret1 error)
- func (s *NetworkerStub) GetNet(ctx context.Context, arg0 zos.NetID) (ret0 net.IPNet, ret1 error)
- func (s *NetworkerStub) GetPublicConfig(ctx context.Context) (ret0 pkg.PublicConfig, ret1 error)
- func (s *NetworkerStub) GetPublicExitDevice(ctx context.Context) (ret0 pkg.ExitDevice, ret1 error)
- func (s *NetworkerStub) GetPublicIPV6Gateway(ctx context.Context) (ret0 []uint8, ret1 error)
- func (s *NetworkerStub) GetPublicIPv6Subnet(ctx context.Context) (ret0 net.IPNet, ret1 error)
- func (s *NetworkerStub) GetSubnet(ctx context.Context, arg0 zos.NetID) (ret0 net.IPNet, ret1 error)
- func (s *NetworkerStub) Interfaces(ctx context.Context, arg0 string, arg1 string) (ret0 pkg.Interfaces, ret1 error)
- func (s *NetworkerStub) Metrics(ctx context.Context) (ret0 pkg.NetResourceMetrics, ret1 error)
- func (s *NetworkerStub) Namespace(ctx context.Context, arg0 zos.NetID) (ret0 string)
- func (s *NetworkerStub) PubIPFilterExists(ctx context.Context, arg0 string) (ret0 bool)
- func (s *NetworkerStub) PubTapExists(ctx context.Context, arg0 string) (ret0 bool, ret1 error)
- func (s *NetworkerStub) PublicAddresses(ctx context.Context) (<-chan pkg.OptionPublicConfig, error)
- func (s *NetworkerStub) PublicIPv4Support(ctx context.Context) (ret0 bool)
- func (s *NetworkerStub) QSFSDestroy(ctx context.Context, arg0 string) (ret0 error)
- func (s *NetworkerStub) QSFSNamespace(ctx context.Context, arg0 string) (ret0 string)
- func (s *NetworkerStub) QSFSPrepare(ctx context.Context, arg0 string) (ret0 string, ret1 string, ret2 error)
- func (s *NetworkerStub) QSFSYggIP(ctx context.Context, arg0 string) (ret0 string, ret1 error)
- func (s *NetworkerStub) Ready(ctx context.Context) (ret0 error)
- func (s *NetworkerStub) RemovePubIPFilter(ctx context.Context, arg0 string) (ret0 error)
- func (s *NetworkerStub) RemovePubTap(ctx context.Context, arg0 string) (ret0 error)
- func (s *NetworkerStub) RemoveTap(ctx context.Context, arg0 string) (ret0 error)
- func (s *NetworkerStub) SetPublicConfig(ctx context.Context, arg0 pkg.PublicConfig) (ret0 error)
- func (s *NetworkerStub) SetPublicExitDevice(ctx context.Context, arg0 string) (ret0 error)
- func (s *NetworkerStub) SetupMyceliumTap(ctx context.Context, arg0 string, arg1 zos.NetID, arg2 zos.MyceliumIP) (ret0 pkg.PlanetaryTap, ret1 error)
- func (s *NetworkerStub) SetupPrivTap(ctx context.Context, arg0 zos.NetID, arg1 string) (ret0 string, ret1 error)
- func (s *NetworkerStub) SetupPubIPFilter(ctx context.Context, arg0 string, arg1 string, arg2 []uint8, arg3 []uint8, ...) (ret0 error)
- func (s *NetworkerStub) SetupPubTap(ctx context.Context, arg0 string) (ret0 string, ret1 error)
- func (s *NetworkerStub) SetupYggTap(ctx context.Context, arg0 string) (ret0 pkg.PlanetaryTap, ret1 error)
- func (s *NetworkerStub) TapExists(ctx context.Context, arg0 string) (ret0 bool, ret1 error)
- func (s *NetworkerStub) UnsetPublicConfig(ctx context.Context) (ret0 error)
- func (s *NetworkerStub) WireguardPorts(ctx context.Context) (ret0 []uint, ret1 error)
- func (s *NetworkerStub) YggAddresses(ctx context.Context) (<-chan pkg.NetlinkAddresses, error)
- func (s *NetworkerStub) ZDBDestroy(ctx context.Context, arg0 string) (ret0 error)
- func (s *NetworkerStub) ZOSAddresses(ctx context.Context) (<-chan pkg.NetlinkAddresses, error)
- type PerformanceMonitorStub
- type ProvisionStub
- func (s *ProvisionStub) Changes(ctx context.Context, arg0 uint32, arg1 uint64) (ret0 []gridtypes.Workload, ret1 error)
- func (s *ProvisionStub) CreateOrUpdate(ctx context.Context, arg0 uint32, arg1 gridtypes.Deployment, arg2 bool) (ret0 error)
- func (s *ProvisionStub) DecommissionCached(ctx context.Context, arg0 string, arg1 string) (ret0 error)
- func (s *ProvisionStub) Get(ctx context.Context, arg0 uint32, arg1 uint64) (ret0 gridtypes.Deployment, ret1 error)
- func (s *ProvisionStub) GetWorkloadStatus(ctx context.Context, arg0 string) (ret0 gridtypes.ResultState, ret1 bool, ret2 error)
- func (s *ProvisionStub) List(ctx context.Context, arg0 uint32) (ret0 []gridtypes.Deployment, ret1 error)
- func (s *ProvisionStub) ListPrivateIPs(ctx context.Context, arg0 uint32, arg1 gridtypes.Name) (ret0 []string, ret1 error)
- func (s *ProvisionStub) ListPublicIPs(ctx context.Context) (ret0 []string, ret1 error)
- type QSFSDStub
- func (s *QSFSDStub) Metrics(ctx context.Context) (ret0 pkg.QSFSMetrics, ret1 error)
- func (s *QSFSDStub) Mount(ctx context.Context, arg0 string, arg1 zos.QuantumSafeFS) (ret0 pkg.QSFSInfo, ret1 error)
- func (s *QSFSDStub) SignalDelete(ctx context.Context, arg0 string) (ret0 error)
- func (s *QSFSDStub) UpdateMount(ctx context.Context, arg0 string, arg1 zos.QuantumSafeFS) (ret0 pkg.QSFSInfo, ret1 error)
- type RegistrarStub
- type StatisticsStub
- func (s *StatisticsStub) Current(ctx context.Context) (ret0 gridtypes.Capacity, ret1 error)
- func (s *StatisticsStub) GetCounters(ctx context.Context) (ret0 pkg.Counters, ret1 error)
- func (s *StatisticsStub) ListGPUs(ctx context.Context) (ret0 []pkg.GPUInfo, ret1 error)
- func (s *StatisticsStub) ReservedStream(ctx context.Context) (<-chan gridtypes.Capacity, error)
- func (s *StatisticsStub) Total(ctx context.Context) (ret0 gridtypes.Capacity)
- func (s *StatisticsStub) Workloads(ctx context.Context) (ret0 int, ret1 error)
- type StorageModuleStub
- func (s *StorageModuleStub) BrokenDevices(ctx context.Context) (ret0 []pkg.BrokenDevice)
- func (s *StorageModuleStub) BrokenPools(ctx context.Context) (ret0 []pkg.BrokenPool)
- func (s *StorageModuleStub) Cache(ctx context.Context) (ret0 pkg.Volume, ret1 error)
- func (s *StorageModuleStub) DeviceAllocate(ctx context.Context, arg0 gridtypes.Unit) (ret0 pkg.Device, ret1 error)
- func (s *StorageModuleStub) DeviceLookup(ctx context.Context, arg0 string) (ret0 pkg.Device, ret1 error)
- func (s *StorageModuleStub) Devices(ctx context.Context) (ret0 []pkg.Device, ret1 error)
- func (s *StorageModuleStub) DiskCreate(ctx context.Context, arg0 string, arg1 gridtypes.Unit) (ret0 pkg.VDisk, ret1 error)
- func (s *StorageModuleStub) DiskDelete(ctx context.Context, arg0 string) (ret0 error)
- func (s *StorageModuleStub) DiskExists(ctx context.Context, arg0 string) (ret0 bool)
- func (s *StorageModuleStub) DiskFormat(ctx context.Context, arg0 string) (ret0 error)
- func (s *StorageModuleStub) DiskList(ctx context.Context) (ret0 []pkg.VDisk, ret1 error)
- func (s *StorageModuleStub) DiskLookup(ctx context.Context, arg0 string) (ret0 pkg.VDisk, ret1 error)
- func (s *StorageModuleStub) DiskResize(ctx context.Context, arg0 string, arg1 gridtypes.Unit) (ret0 pkg.VDisk, ret1 error)
- func (s *StorageModuleStub) DiskWrite(ctx context.Context, arg0 string, arg1 string) (ret0 error)
- func (s *StorageModuleStub) Metrics(ctx context.Context) (ret0 []pkg.PoolMetrics, ret1 error)
- func (s *StorageModuleStub) Monitor(ctx context.Context) (<-chan pkg.PoolsStats, error)
- func (s *StorageModuleStub) Total(ctx context.Context, arg0 zos.DeviceType) (ret0 uint64, ret1 error)
- func (s *StorageModuleStub) VolumeCreate(ctx context.Context, arg0 string, arg1 gridtypes.Unit) (ret0 pkg.Volume, ret1 error)
- func (s *StorageModuleStub) VolumeDelete(ctx context.Context, arg0 string) (ret0 error)
- func (s *StorageModuleStub) VolumeExists(ctx context.Context, arg0 string) (ret0 bool, ret1 error)
- func (s *StorageModuleStub) VolumeList(ctx context.Context) (ret0 []pkg.Volume, ret1 error)
- func (s *StorageModuleStub) VolumeLookup(ctx context.Context, arg0 string) (ret0 pkg.Volume, ret1 error)
- func (s *StorageModuleStub) VolumeUpdate(ctx context.Context, arg0 string, arg1 gridtypes.Unit) (ret0 error)
- type SubstrateGatewayStub
- func (s *SubstrateGatewayStub) CreateNode(ctx context.Context, arg0 tfchainclientgo.Node) (ret0 uint32, ret1 error)
- func (s *SubstrateGatewayStub) CreateTwin(ctx context.Context, arg0 string, arg1 []uint8) (ret0 uint32, ret1 error)
- func (s *SubstrateGatewayStub) EnsureAccount(ctx context.Context, arg0 []string, arg1 string, arg2 string) (ret0 tfchainclientgo.AccountInfo, ret1 error)
- func (s *SubstrateGatewayStub) GetContract(ctx context.Context, arg0 uint64) (ret0 tfchainclientgo.Contract, ret1 pkg.SubstrateError)
- func (s *SubstrateGatewayStub) GetContractIDByNameRegistration(ctx context.Context, arg0 string) (ret0 uint64, ret1 pkg.SubstrateError)
- func (s *SubstrateGatewayStub) GetFarm(ctx context.Context, arg0 uint32) (ret0 tfchainclientgo.Farm, ret1 error)
- func (s *SubstrateGatewayStub) GetNode(ctx context.Context, arg0 uint32) (ret0 tfchainclientgo.Node, ret1 error)
- func (s *SubstrateGatewayStub) GetNodeByTwinID(ctx context.Context, arg0 uint32) (ret0 uint32, ret1 pkg.SubstrateError)
- func (s *SubstrateGatewayStub) GetNodeContracts(ctx context.Context, arg0 uint32) (ret0 []types.U64, ret1 error)
- func (s *SubstrateGatewayStub) GetNodeRentContract(ctx context.Context, arg0 uint32) (ret0 uint64, ret1 pkg.SubstrateError)
- func (s *SubstrateGatewayStub) GetNodes(ctx context.Context, arg0 uint32) (ret0 []uint32, ret1 error)
- func (s *SubstrateGatewayStub) GetPowerTarget(ctx context.Context, arg0 uint32) (ret0 tfchainclientgo.NodePower, ret1 error)
- func (s *SubstrateGatewayStub) GetTime(ctx context.Context) (ret0 time.Time, ret1 error)
- func (s *SubstrateGatewayStub) GetTwin(ctx context.Context, arg0 uint32) (ret0 tfchainclientgo.Twin, ret1 error)
- func (s *SubstrateGatewayStub) GetTwinByPubKey(ctx context.Context, arg0 []uint8) (ret0 uint32, ret1 pkg.SubstrateError)
- func (s *SubstrateGatewayStub) GetZosVersion(ctx context.Context) (ret0 string, ret1 error)
- func (s *SubstrateGatewayStub) Report(ctx context.Context, arg0 []tfchainclientgo.NruConsumption) (ret0 types.Hash, ret1 error)
- func (s *SubstrateGatewayStub) SetContractConsumption(ctx context.Context, arg0 ...tfchainclientgo.ContractResources) (ret0 error)
- func (s *SubstrateGatewayStub) SetNodePowerState(ctx context.Context, arg0 bool) (ret0 types.Hash, ret1 error)
- func (s *SubstrateGatewayStub) UpdateNode(ctx context.Context, arg0 tfchainclientgo.Node) (ret0 uint32, ret1 error)
- func (s *SubstrateGatewayStub) UpdateNodeUptimeV2(ctx context.Context, arg0 uint64, arg1 uint64) (ret0 types.Hash, ret1 error)
- type SystemMonitorStub
- func (s *SystemMonitorStub) CPU(ctx context.Context) (<-chan pkg.TimesStat, error)
- func (s *SystemMonitorStub) Disks(ctx context.Context) (<-chan pkg.DisksIOCountersStat, error)
- func (s *SystemMonitorStub) GetNodeFeatures(ctx context.Context) (ret0 []pkg.NodeFeature)
- func (s *SystemMonitorStub) Memory(ctx context.Context) (<-chan pkg.VirtualMemoryStat, error)
- func (s *SystemMonitorStub) Nics(ctx context.Context) (<-chan pkg.NicsIOCounterStat, error)
- func (s *SystemMonitorStub) NodeID(ctx context.Context) (ret0 uint32)
- type VMModuleStub
- func (s *VMModuleStub) Delete(ctx context.Context, arg0 string) (ret0 error)
- func (s *VMModuleStub) Exists(ctx context.Context, arg0 string) (ret0 bool)
- func (s *VMModuleStub) Inspect(ctx context.Context, arg0 string) (ret0 pkg.VMInfo, ret1 error)
- func (s *VMModuleStub) List(ctx context.Context) (ret0 []string, ret1 error)
- func (s *VMModuleStub) Lock(ctx context.Context, arg0 string, arg1 bool) (ret0 error)
- func (s *VMModuleStub) Logs(ctx context.Context, arg0 string) (ret0 string, ret1 error)
- func (s *VMModuleStub) Metrics(ctx context.Context) (ret0 pkg.MachineMetrics, ret1 error)
- func (s *VMModuleStub) Run(ctx context.Context, arg0 pkg.VM) (ret0 pkg.MachineInfo, ret1 error)
- func (s *VMModuleStub) StreamCreate(ctx context.Context, arg0 string, arg1 pkg.Stream) (ret0 error)
- func (s *VMModuleStub) StreamDelete(ctx context.Context, arg0 string) (ret0 error)
- type VersionMonitorStub
- type ZUIStub
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) 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) 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) HashFromRootPath ¶ added in v0.2.2
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
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
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) 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)
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 (*NetworkerLightStub) AttachPrivate ¶ added in v0.2.2
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) 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) 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) 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 (*NetworkerStub) GetDefaultGwIP ¶ added in v0.2.2
func (*NetworkerStub) GetIPv6From4 ¶ added in v0.2.2
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 (*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) 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 (*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 (*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 (*NetworkerStub) SetupPubIPFilter ¶ added in v0.2.2
func (*NetworkerStub) SetupPubTap ¶ added in v0.2.2
func (*NetworkerStub) SetupYggTap ¶ added in v0.2.2
func (s *NetworkerStub) SetupYggTap(ctx context.Context, arg0 string) (ret0 pkg.PlanetaryTap, 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) 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 (*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 (*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 (*QSFSDStub) SignalDelete ¶ added in v0.2.2
type RegistrarStub ¶
type RegistrarStub struct {
// contains filtered or unexported fields
}
func NewRegistrarStub ¶
func NewRegistrarStub(client zbus.Client) *RegistrarStub
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) GetCounters ¶ added in v0.2.2
func (*StatisticsStub) ReservedStream ¶ added in v0.2.2
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) DeviceAllocate ¶ added in v0.2.2
func (*StorageModuleStub) DeviceLookup ¶ added in v0.2.2
func (*StorageModuleStub) DiskCreate ¶ added in v0.2.2
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) DiskLookup ¶ added in v0.2.2
func (*StorageModuleStub) DiskResize ¶ added in v0.2.2
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 (*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 (*StorageModuleStub) VolumeList ¶ added in v0.2.2
func (*StorageModuleStub) VolumeLookup ¶ added in v0.2.2
func (*StorageModuleStub) VolumeUpdate ¶ added in v0.2.2
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 (*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 (*SubstrateGatewayStub) GetNodeRentContract ¶ added in v0.2.2
func (s *SubstrateGatewayStub) GetNodeRentContract(ctx context.Context, arg0 uint32) (ret0 uint64, ret1 pkg.SubstrateError)
func (*SubstrateGatewayStub) GetPowerTarget ¶ added in v0.2.2
func (s *SubstrateGatewayStub) GetPowerTarget(ctx context.Context, arg0 uint32) (ret0 tfchainclientgo.NodePower, 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 (*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
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) Disks ¶ added in v0.2.2
func (s *SystemMonitorStub) Disks(ctx context.Context) (<-chan pkg.DisksIOCountersStat, error)
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 (s *SystemMonitorStub) Nics(ctx context.Context) (<-chan pkg.NicsIOCounterStat, error)
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) List ¶ added in v0.2.2
func (s *VMModuleStub) List(ctx context.Context) (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 (*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)
type ZUIStub ¶ added in v0.2.2
type ZUIStub struct {
// contains filtered or unexported fields
}
func NewZUIStub ¶ added in v0.2.2
Source Files
¶
- api_gateway_stub.go
- container_stub.go
- flist_stub.go
- gateway_stub.go
- host_monitor_stub.go
- identity_stub.go
- network_light_stub.go
- network_stub.go
- performance_monitor_stub.go
- provision_stub.go
- qsfsd_stub.go
- registrar_stub.go
- statistics_stub.go
- storage_stub.go
- system_monitor_stub.go
- version_monitor_stub.go
- vmd_stub.go
- zui_stub.go
Click to show internal directories.
Click to hide internal directories.