bmc

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2024 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BMC

type BMC struct {
	IpmiClient    IpmiSolClient
	RedfishClient *RedFish
}

func NewBMC

func NewBMC(redfishUrl, username, password string, logger logr.Logger) (*BMC, error)

type IpmiSolClient

type IpmiSolClient interface {
	Run(context.Context, func(c *expect.Console) error) error
}

type RedFish

type RedFish struct {
	// contains filtered or unexported fields
}

func NewRedFish

func NewRedFish(url, username, password string) (*RedFish, error)

func (*RedFish) Boot

func (rf *RedFish) Boot() error

func (*RedFish) Close

func (rf *RedFish) Close()

func (*RedFish) InsertMedia

func (rf *RedFish) InsertMedia(url string) error

func (*RedFish) SetBootMedia

func (rf *RedFish) SetBootMedia() error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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