nodes

package
v0.0.0-...-459d6a5 Latest Latest
Warning

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

Go to latest
Published: Aug 12, 2026 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	IPMI      = "ipmi"
	SSH       = "ssh"
	WebSocket = "websocket"
	Telnet    = "telnet"
	Oem       = "oem"
)

Variables

This section is empty.

Functions

func CheckForUpdates

func CheckForUpdates(ctx context.Context, httpClient *http.Client, smdURL string) bool

func CurrentNodes

func CurrentNodes() map[string]*NodeConsoleInfo

func GetHardwareUpdateTime

func GetHardwareUpdateTime() string

func IsCurrentNode

func IsCurrentNode(nodeID string) bool

Types

type ConsoleConnectionType

type ConsoleConnectionType string

type NodeConsoleInfo

type NodeConsoleInfo struct {
	ID                  string `json:"id"`                  // node xname
	ConnectionType      string `json:"connectionType"`      // connection type
	ConnectionHost      string `json:"connectionHost"`      // connection host
	ConnectionPort      int    `json:"connectionPort"`      // connection port
	ConsoleEntryCommand string `json:"consoleEntryCommand"` // optional command to run after connecting
}

func (NodeConsoleInfo) String

func (nc NodeConsoleInfo) String() string

Jump to

Keyboard shortcuts

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