Documentation
¶
Index ¶
- type Ipmi
- func (i *Ipmi) BootDeviceSet(bootDevice string, setPersistent, efiBoot bool) (ok bool, err error)
- func (i *Ipmi) Close(context.Context) error
- 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) PowerReset() (status bool, err error)
- func (i *Ipmi) PowerResetBmc(resetType string) (ok 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)
- func (i *Ipmi) ReadUsers() (users []map[string]string, 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 }
Data for an IPMI connection
func (*Ipmi) BootDeviceSet ¶ added in v1.2.5
Set the next boot device with options
func (*Ipmi) PowerCycle ¶
Reboot the machine via BMC
func (*Ipmi) PowerCycleBmc ¶
Reboot the BMC we are connected to
func (*Ipmi) PowerReset ¶ added in v1.2.5
Reset the machine via BMC
func (*Ipmi) PowerResetBmc ¶ added in v1.2.5
Reset the BMC we are connected to
func (*Ipmi) PxeOnceEfi ¶
Boot the machine via PXE once using EFI
func (*Ipmi) PxeOnceMbr ¶
Boot the machine via PXE once using MBR
Click to show internal directories.
Click to hide internal directories.