Versions in this module Expand all Collapse all v0 v0.2.2 Jan 15, 2025 Changes in this version + type Counters struct + System gridtypes.Capacity + Total gridtypes.Capacity + Used gridtypes.Capacity + Users UsersCounters + type ExitDevice struct + AsDualInterface string + IsDual bool + IsSingle bool + type GPU struct + Contract uint64 + Device string + ID string + Vendor string + type Interface struct + IPs []string + Mac string + type NodeClient struct + func NewNodeClient(nodeTwin uint32, bus rmb.Client) *NodeClient + func (n *NodeClient) Counters(ctx context.Context) (counters Counters, err error) + func (n *NodeClient) DeploymentChanges(ctx context.Context, contractID uint64) (changes []gridtypes.Workload, err error) + func (n *NodeClient) DeploymentDelete(ctx context.Context, contractID uint64) error + func (n *NodeClient) DeploymentDeploy(ctx context.Context, dl gridtypes.Deployment) error + func (n *NodeClient) DeploymentGet(ctx context.Context, contractID uint64) (dl gridtypes.Deployment, err error) + func (n *NodeClient) DeploymentList(ctx context.Context) (dls []gridtypes.Deployment, err error) + func (n *NodeClient) DeploymentUpdate(ctx context.Context, dl gridtypes.Deployment) error + func (n *NodeClient) GPUs(ctx context.Context) (gpus []GPU, err error) + func (n *NodeClient) HasPublicIPv6(ctx context.Context) (bool, error) + func (n *NodeClient) NetworkGetPublicConfig(ctx context.Context) (cfg pkg.PublicConfig, err error) + func (n *NodeClient) NetworkGetPublicExitDevice(ctx context.Context) (exit ExitDevice, err error) + func (n *NodeClient) NetworkListAllInterfaces(ctx context.Context) (result map[string]Interface, err error) + func (n *NodeClient) NetworkListInterfaces(ctx context.Context) (result map[string][]net.IP, err error) + func (n *NodeClient) NetworkListPrivateIPs(ctx context.Context, networkName string) ([]string, error) + func (n *NodeClient) NetworkListPublicIPs(ctx context.Context) ([]string, error) + func (n *NodeClient) NetworkListWGPorts(ctx context.Context) ([]uint16, error) + func (n *NodeClient) NetworkSetPublicExitDevice(ctx context.Context, iface string) error + func (n *NodeClient) Pools(ctx context.Context) (pools []pkg.PoolMetrics, err error) + func (n *NodeClient) SystemDMI(ctx context.Context) (result dmi.DMI, err error) + func (n *NodeClient) SystemDiagnostics(ctx context.Context) (result diagnostics.Diagnostics, err error) + func (n *NodeClient) SystemGetNodeFeatures(ctx context.Context) (feat []pkg.NodeFeature, err error) + func (n *NodeClient) SystemHypervisor(ctx context.Context) (result string, err error) + func (n *NodeClient) SystemVersion(ctx context.Context) (ver Version, err error) + type UsersCounters struct + Deployments int + Workloads int + type Version struct + ZInit string + ZOS string