nodes

package
v0.0.1-dev-fe8dc22 Latest Latest
Warning

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

Go to latest
Published: Jul 2, 2025 License: Apache-2.0 Imports: 33 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Handlers = []apis.Handler{
		{
			Version: apis.V1,
			Method:  http.MethodGet,
			Path:    "/nodes",
			Func:    listNodes,
		},
		{
			Version: apis.V1,
			Method:  http.MethodGet,
			Path:    "/nodes/:nodeName",
			Func:    getNode,
		},
		{
			Version: apis.V1,
			Method:  http.MethodPost,
			Path:    "/nodes/:nodeName/ipmi",
			Func:    setNodeIpmi,
		},
		{
			Version: apis.V1,
			Method:  http.MethodPost,
			Path:    "/nodes/:nodeName/ipmi/verify",
			Func:    verifyNodeIpmi,
		},
		{
			Version: apis.V1,
			Method:  http.MethodPost,
			Path:    "/nodes/:nodeName/ipmi/:operation",
			Func:    ipmiOperateNode,
		},
		{
			Version: apis.V1,
			Method:  http.MethodDelete,
			Path:    "/nodes/:nodeName/ipmi/disconnect",
			Func:    disconnectNodeIpmi,
		},
	}
)

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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