ld

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 16, 2020 License: MPL-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidInputProvided = errors.New("invalid input - ensure \"Cluster\" and \"Power\" is provided\"")
)

Functions

func Handler

func Handler(powerInput PowerInput) (s string, err error)

func Start

func Start()

Types

type PowerInput added in v0.0.4

type PowerInput struct {
	Cluster string
	Power   string
}

type PowerOutput added in v0.0.4

type PowerOutput struct {
	Success bool
	Message string
}

Jump to

Keyboard shortcuts

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