Documentation
¶
Index ¶
- type BladeBmcWrapper
- func (w BladeBmcWrapper) Close() error
- func (w *BladeBmcWrapper) FindBladePosition(serial string) (int, error)
- func (w *BladeBmcWrapper) IsOnBlade(position int) (bool, error)
- func (w *BladeBmcWrapper) PowerCycleBlade(position int) (bool, error)
- func (w *BladeBmcWrapper) PowerCycleBmcBlade(position int) (bool, error)
- func (w *BladeBmcWrapper) PowerOffBlade(position int) (bool, error)
- func (w *BladeBmcWrapper) PowerOnBlade(position int) (bool, error)
- func (w *BladeBmcWrapper) PxeOnceBlade(position int) (bool, error)
- func (w *BladeBmcWrapper) ReseatBlade(position int) (bool, error)
- type ChassisBmcWrapper
- type ServerBmcWrapper
- func (w *ServerBmcWrapper) Close(context.Context) error
- func (w *ServerBmcWrapper) HardwareType() string
- func (w *ServerBmcWrapper) IsOn() (bool, error)
- func (w *ServerBmcWrapper) PowerCycle() (bool, error)
- func (w *ServerBmcWrapper) PowerCycleBmc() (bool, error)
- func (w *ServerBmcWrapper) PowerOff() (bool, error)
- func (w *ServerBmcWrapper) PowerOn() (bool, error)
- func (w *ServerBmcWrapper) PxeOnce() (bool, error)
- func (w *ServerBmcWrapper) Screenshot() ([]byte, string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BladeBmcWrapper ¶
type BladeBmcWrapper struct {
// contains filtered or unexported fields
}
func NewBladeBmcWrapper ¶
func NewBladeBmcWrapper(username, password, host string) *BladeBmcWrapper
func (*BladeBmcWrapper) FindBladePosition ¶
func (w *BladeBmcWrapper) FindBladePosition(serial string) (int, error)
func (*BladeBmcWrapper) PowerCycleBlade ¶
func (w *BladeBmcWrapper) PowerCycleBlade(position int) (bool, error)
func (*BladeBmcWrapper) PowerCycleBmcBlade ¶
func (w *BladeBmcWrapper) PowerCycleBmcBlade(position int) (bool, error)
func (*BladeBmcWrapper) PowerOffBlade ¶
func (w *BladeBmcWrapper) PowerOffBlade(position int) (bool, error)
func (*BladeBmcWrapper) PowerOnBlade ¶
func (w *BladeBmcWrapper) PowerOnBlade(position int) (bool, error)
func (*BladeBmcWrapper) PxeOnceBlade ¶
func (w *BladeBmcWrapper) PxeOnceBlade(position int) (bool, error)
func (*BladeBmcWrapper) ReseatBlade ¶
func (w *BladeBmcWrapper) ReseatBlade(position int) (bool, error)
type ChassisBmcWrapper ¶
type ChassisBmcWrapper struct {
// contains filtered or unexported fields
}
func NewChassisBmcWrapper ¶
func NewChassisBmcWrapper(username, password, host string) *ChassisBmcWrapper
func (*ChassisBmcWrapper) IsOn ¶
func (w *ChassisBmcWrapper) IsOn() (bool, error)
func (*ChassisBmcWrapper) PowerCycle ¶
func (w *ChassisBmcWrapper) PowerCycle() (bool, error)
func (*ChassisBmcWrapper) PowerOn ¶
func (w *ChassisBmcWrapper) PowerOn() (bool, error)
type ServerBmcWrapper ¶
type ServerBmcWrapper struct {
// contains filtered or unexported fields
}
func NewServerBmcWrapper ¶
func NewServerBmcWrapper(username, password, host string) *ServerBmcWrapper
func (*ServerBmcWrapper) HardwareType ¶
func (w *ServerBmcWrapper) HardwareType() string
func (*ServerBmcWrapper) IsOn ¶
func (w *ServerBmcWrapper) IsOn() (bool, error)
func (*ServerBmcWrapper) PowerCycle ¶
func (w *ServerBmcWrapper) PowerCycle() (bool, error)
func (*ServerBmcWrapper) PowerCycleBmc ¶
func (w *ServerBmcWrapper) PowerCycleBmc() (bool, error)
func (*ServerBmcWrapper) PowerOff ¶
func (w *ServerBmcWrapper) PowerOff() (bool, error)
func (*ServerBmcWrapper) PowerOn ¶
func (w *ServerBmcWrapper) PowerOn() (bool, error)
func (*ServerBmcWrapper) PxeOnce ¶
func (w *ServerBmcWrapper) PxeOnce() (bool, error)
func (*ServerBmcWrapper) Screenshot ¶
func (w *ServerBmcWrapper) Screenshot() ([]byte, string, error)
Source Files
¶
Click to show internal directories.
Click to hide internal directories.