Documentation
¶
Index ¶
- type OutBand
- func New(r *redfish.APIClient, ipmiTool ipmi.IpmiTool, board *api.Board, ip string, ...) *OutBand
- func ViaGoipmi(board *api.Board, ip string, ipmiPort int, user, password string) *OutBand
- func ViaRedfish(r *redfish.APIClient, board *api.Board) *OutBand
- func ViaRedfishPlusSSH(r *redfish.APIClient, board *api.Board, user, password, ip string, sshPort int) *OutBand
- func (ob *OutBand) Board() *api.Board
- func (ob *OutBand) GetIP() string
- func (ob *OutBand) GetPassword() string
- func (ob *OutBand) GetSSHPort() int
- func (ob *OutBand) GetUsername() string
- func (ob *OutBand) Goipmi(f func(*ipmi.Client) error) error
- func (ob *OutBand) IPMIConnection() (string, int, string, string)
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
ViaGoipmi returns an out-band connection that uses a goipmi client
func ViaRedfish ¶ added in v0.1.11
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) GetPassword ¶ added in v0.7.0
func (*OutBand) GetSSHPort ¶ added in v0.7.0
func (*OutBand) GetUsername ¶ added in v0.7.0
Click to show internal directories.
Click to hide internal directories.