cluster

package
v0.24.2 Latest Latest
Warning

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

Go to latest
Published: May 23, 2026 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func QueryNodeRuntimes

func QueryNodeRuntimes(nodeAddr string, clusterKey string) []string

QueryNodeRuntimes queries a remote node for its available runtimes This is a convenience wrapper around QueryNodeInfo

Types

type ClusterNodeInfo

type ClusterNodeInfo struct {
	NodeId          string   `json:"node_id"`
	Hostname        string   `json:"hostname"`
	Zone            string   `json:"zone"`
	ApiEndpoint     string   `json:"api_endpoint"`
	AllocatedSpaces int      `json:"allocated_spaces"`
	RunningSpaces   int      `json:"running_spaces"`
	Runtimes        []string `json:"runtimes"`
}

ClusterNodeInfo represents basic node information returned from queries

func QueryNodeInfo

func QueryNodeInfo(nodeAddr string, clusterKey string) ClusterNodeInfo

QueryNodeInfo queries a remote node for its information including runtimes

Jump to

Keyboard shortcuts

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