Documentation ¶
Index ¶
- type Ipmi
- func (i *Ipmi) IsOn() (status bool, err error)
- func (i *Ipmi) PowerCycle() (status bool, err error)
- func (i *Ipmi) PowerCycleBmc() (status bool, err error)
- func (i *Ipmi) PowerOff() (status bool, err error)
- func (i *Ipmi) PowerOn() (status bool, err error)
- func (i *Ipmi) PowerOnForce() (status bool, err error)
- func (i *Ipmi) PxeOnce() (status bool, err error)
- func (i *Ipmi) PxeOnceEfi() (status bool, err error)
- func (i *Ipmi) PxeOnceMbr() (status bool, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Ipmi ¶
type Ipmi struct { Username string Password string Host string // contains filtered or unexported fields }
Ipmi holds the date for an ipmi connection
func (*Ipmi) PowerCycle ¶
PowerCycle reboots the machine via bmc
func (*Ipmi) PowerCycleBmc ¶
PowerCycleBmc reboots the bmc we are connected to
func (*Ipmi) PowerOnForce ¶
PowerOnForce power on the machine via bmc even when the machine is already on (Thanks HP!)
func (*Ipmi) PxeOnceEfi ¶
PxeOnceEfi makes the machine to boot via pxe once using EFI
func (*Ipmi) PxeOnceMbr ¶
PxeOnceMbr makes the machine to boot via pxe once using MBR
Click to show internal directories.
Click to hide internal directories.