node

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2024 License: Apache-2.0 Imports: 36 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Formatter

func Formatter(request *types.APIRequest, resource *types.RawResource)

func RegisterSchema

func RegisterSchema(scaled *config.Scaled, server *server.Server, _ config.Options) error

Types

type ActionHandler

type ActionHandler struct {
	// contains filtered or unexported fields
}

func (ActionHandler) ServeHTTP

func (h ActionHandler) ServeHTTP(rw http.ResponseWriter, req *http.Request)

type ListUnhealthyVM added in v1.1.2

type ListUnhealthyVM struct {
	Message string   `json:"message"`
	VMs     []string `json:"vms"`
}

type MaintenanceModeInput added in v1.1.2

type MaintenanceModeInput struct {
	Force string `json:"force"`
}

type PowerActionInput added in v1.2.0

type PowerActionInput struct {
	Operation string `json:"operation"`
}

Jump to

Keyboard shortcuts

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