node

package
v0.0.0-...-60df2ce Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2026 License: MIT Imports: 13 Imported by: 0

Documentation

Overview

Package node provides node-related API handlers.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Node

type Node struct {
	// JobClient provides job-based operations for system queries.
	JobClient client.JobClient
	// contains filtered or unexported fields
}

Node implementation of the Node APIs operations.

func New

func New(
	logger *slog.Logger,
	jobClient client.JobClient,
) *Node

New factory to create a new instance.

func (*Node) GetNodeDisk

GetNodeDisk get the node disk usage API endpoint.

func (*Node) GetNodeHostname

GetNodeHostname get the node hostname API endpoint.

func (*Node) GetNodeLoad

GetNodeLoad get the node load averages API endpoint.

func (*Node) GetNodeMemory

GetNodeMemory get the node memory stats API endpoint.

func (*Node) GetNodeNetworkDNSByInterface

GetNodeNetworkDNSByInterface get the node network dns get API endpoint.

func (*Node) GetNodeOS

GetNodeOS get the node OS info API endpoint.

func (*Node) GetNodeStatus

GetNodeStatus get the node status API endpoint.

func (*Node) GetNodeUptime

GetNodeUptime get the node uptime API endpoint.

func (*Node) PostNodeCommandExec

PostNodeCommandExec post the node command exec API endpoint.

func (*Node) PostNodeCommandShell

PostNodeCommandShell post the node command shell API endpoint.

func (*Node) PostNodeNetworkPing

PostNodeNetworkPing post the node network ping API endpoint.

func (*Node) PutNodeNetworkDNS

PutNodeNetworkDNS put the node network dns API endpoint.

Directories

Path Synopsis
Package gen contains generated code for the node API.
Package gen contains generated code for the node API.

Jump to

Keyboard shortcuts

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