outband

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2020 License: AGPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type OutBand

type OutBand struct {
	Redfish  *redfish.APIClient
	IpmiTool ipmi.IpmiTool
	// contains filtered or unexported fields
}

func New

func New(r *redfish.APIClient, ipmiTool ipmi.IpmiTool, board *api.Board, ip string, ipmiPort int, user, password string) *OutBand

New returns an out-band connection that uses the given redfish client and ipmitool as well as a goipmi client

func ViaGoipmi added in v0.1.11

func ViaGoipmi(board *api.Board, ip string, ipmiPort int, user, password string) *OutBand

ViaGoipmi returns an out-band connection that uses a goipmi client

func ViaRedfish added in v0.1.11

func ViaRedfish(r *redfish.APIClient, board *api.Board) *OutBand

ViaRedfish returns an out-band connection that uses the given redfish client

func (*OutBand) Board

func (ob *OutBand) Board() *api.Board

func (*OutBand) Goipmi

func (ob *OutBand) Goipmi(f func(*ipmi.Client) error) error

func (*OutBand) IPMIConnection added in v0.1.3

func (ob *OutBand) IPMIConnection() (string, int, string, string)

Jump to

Keyboard shortcuts

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