outband

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2026 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 ViaRedfishPlusSSH added in v0.7.0

func ViaRedfishPlusSSH(r *redfish.APIClient, board *api.Board, user, password, ip string, sshPort int) *OutBand

ViaRedfishPlusSSH returns an out-band connection that uses the given redfish client plus saves ssh connection data

func (*OutBand) Board

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

func (*OutBand) GetIP added in v0.7.0

func (ob *OutBand) GetIP() string

func (*OutBand) GetPassword added in v0.7.0

func (ob *OutBand) GetPassword() string

func (*OutBand) GetSSHPort added in v0.7.0

func (ob *OutBand) GetSSHPort() int

func (*OutBand) GetUsername added in v0.7.0

func (ob *OutBand) GetUsername() string

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