Files
warewulf/internal/pkg/power/power.go
Christian Goll 10ea0ac78d use ipmi interface from node.NodeConf
Signed-off-by: Christian Goll <cgoll@suse.com>
2024-11-07 23:01:32 -07:00

26 lines
490 B
Go

package power
type PowerOnInterface interface {
PowerOn() (result string, err error)
}
type PowerOffInterface interface {
PowerOff() (result string, err error)
}
type PowerResetInterface interface {
PowerReset() (result string, err error)
}
type PowerSoftInterface interface {
PowerSoft() (result string, err error)
}
type PowerCycleInterface interface {
PowerCycle() (result string, err error)
}
type PowerStatusInterface interface {
PowerStatus() (result string, err error)
}