redfish

package
v0.2.6 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2020 License: AGPL-3.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type APIClient

type APIClient struct {
	*gofish.APIClient
	*http.Client
	// contains filtered or unexported fields
}

func New

func New(url, user, password string, insecure bool) (*APIClient, error)

func (*APIClient) BMC added in v0.2.0

func (c *APIClient) BMC() (*api.BMC, error)

func (*APIClient) BoardInfo

func (c *APIClient) BoardInfo() (*api.Board, error)

func (*APIClient) MachineUUID

func (c *APIClient) MachineUUID() (string, error)

MachineUUID retrieves a unique uuid for this (hardware) machine

func (*APIClient) PowerCycle

func (c *APIClient) PowerCycle() error

func (*APIClient) PowerOff

func (c *APIClient) PowerOff() error

func (*APIClient) PowerOn

func (c *APIClient) PowerOn() error

func (*APIClient) PowerReset

func (c *APIClient) PowerReset() error

func (*APIClient) PowerState

func (c *APIClient) PowerState() (hal.PowerState, error)

func (*APIClient) SetBootOrder

func (c *APIClient) SetBootOrder(target hal.BootTarget, vendor api.Vendor) error

Jump to

Keyboard shortcuts

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