Versions in this module Expand all Collapse all v0 v0.9.1 Aug 31, 2026 v0.9.0 Aug 9, 2026 Changes in this version + const DevicePowerStateD0 + const DevicePowerStateD1 + const DevicePowerStateD2 + const DevicePowerStateD3 + const DevicePowerStateNoChange + const DevicePowerStateUnknown + const SystemPowerStateG1Sleeping + const SystemPowerStateG3 + const SystemPowerStateLegacyOff + const SystemPowerStateLegacyOn + const SystemPowerStateNoChange + const SystemPowerStateOverride + const SystemPowerStateS0G0 + const SystemPowerStateS1 + const SystemPowerStateS2 + const SystemPowerStateS3 + const SystemPowerStateS4 + const SystemPowerStateS4S5 + const SystemPowerStateS5G2 + const SystemPowerStateSleeping + const SystemPowerStateUnknown + var SupportedPowerRestorePolicies = []string + type ChassisControl uint8 + const ChassisControlDiagnosticInterrupt + const ChassisControlHardReset + const ChassisControlPowerCycle + const ChassisControlPowerDown + const ChassisControlPowerUp + const ChassisControlSoftShutdown + type ChassisControlRequest struct + ChassisControl ChassisControl + func (req *ChassisControlRequest) Command() types.Command + func (req *ChassisControlRequest) Pack() []byte + func (req *ChassisControlRequest) Unpack(msg []byte) error + type ChassisControlResponse struct + func (res *ChassisControlResponse) Format() string + func (res *ChassisControlResponse) Unpack(msg []byte) error + type ChassisIdentifyRequest struct + ForceIdentifyOn bool + IdentifyInterval uint8 + func (req *ChassisIdentifyRequest) Command() types.Command + func (req *ChassisIdentifyRequest) Pack() []byte + type ChassisIdentifyResponse struct + func (res *ChassisIdentifyResponse) Format() string + func (res *ChassisIdentifyResponse) Unpack(msg []byte) error + type ChassisIdentifyState uint8 + const ChassisIdentifyStateIndefiniteOn + const ChassisIdentifyStateOff + const ChassisIdentifyStateTemporaryOn + func (c ChassisIdentifyState) String() string + type ChassisResetRequest struct + func (req *ChassisResetRequest) Command() types.Command + func (req *ChassisResetRequest) Pack() []byte + type ChassisResetResponse struct + func (res *ChassisResetResponse) Format() string + func (res *ChassisResetResponse) Unpack(msg []byte) error + type DevicePowerState uint8 + func (s DevicePowerState) String() string + type GetACPIPowerStateRequest struct + func (req *GetACPIPowerStateRequest) Command() types.Command + func (req *GetACPIPowerStateRequest) Pack() []byte + type GetACPIPowerStateResponse struct + DevicePowerState DevicePowerState + SystemPowerState SystemPowerState + func (res *GetACPIPowerStateResponse) Format() string + func (res *GetACPIPowerStateResponse) Unpack(msg []byte) error + type GetChassisCapabilitiesRequest struct + func (req *GetChassisCapabilitiesRequest) Command() types.Command + func (req *GetChassisCapabilitiesRequest) Pack() []byte + type GetChassisCapabilitiesResponse struct + BridgeDeviceAddress uint8 + FRUDeviceAddress uint8 + ProvideDiagnosticInterrupt bool + ProvideFrontPanelLockout bool + ProvideIntrusionSensor bool + ProvidePowerInterlock bool + SDRDeviceAddress uint8 + SELDeviceAddress uint8 + SystemManagementDeviceAddress uint8 + func (res *GetChassisCapabilitiesResponse) Format() string + func (res *GetChassisCapabilitiesResponse) Unpack(msg []byte) error + type GetChassisStatusRequest struct + func (req *GetChassisStatusRequest) Command() types.Command + func (req *GetChassisStatusRequest) Pack() []byte + type GetChassisStatusResponse struct + ACFailed bool + ChassisIdentifyState ChassisIdentifyState + ChassisIdentifySupported bool + ChassisIntrusionActive bool + CollingFanFault bool + DiagnosticButtonDisableAllowed bool + DiagnosticButtonDisabled bool + DriveFault bool + FrontPanelLockoutActive bool + InterLock bool + LastPowerDownByPowerFault bool + LastPowerDownByPowerInterlockActivated bool + LastPowerDownByPowerOverload bool + LastPowerOnByCommand bool + PowerControlFault bool + PowerFault bool + PowerIsOn bool + PowerOverload bool + PowerRestorePolicy PowerRestorePolicy + PoweroffButtonDisableAllowed bool + PoweroffButtonDisabled bool + ResetButtonDisableAllowed bool + ResetButtonDisabled bool + SleepButtonDisableAllowed bool + SleepButtonDisabled bool + func (res *GetChassisStatusResponse) Format() string + func (res *GetChassisStatusResponse) Pack() []byte + func (res *GetChassisStatusResponse) Unpack(msg []byte) error + type GetPOHCounterRequest struct + func (req *GetPOHCounterRequest) Command() types.Command + func (req *GetPOHCounterRequest) Pack() []byte + type GetPOHCounterResponse struct + CounterReading uint32 + MinutesPerCount uint8 + func (res *GetPOHCounterResponse) Format() string + func (res *GetPOHCounterResponse) Minutes() uint32 + func (res *GetPOHCounterResponse) Unpack(msg []byte) error + type GetSystemBootOptionsParamRequest struct + BlockSelector uint8 + ParamSelector types.BootOptionParamSelector + SetSelector uint8 + func (req *GetSystemBootOptionsParamRequest) Command() types.Command + func (req *GetSystemBootOptionsParamRequest) Pack() []byte + type GetSystemBootOptionsParamResponse struct + ParamData []byte + ParamSelector types.BootOptionParamSelector + ParameterInValid bool + ParameterVersion uint8 + func (res *GetSystemBootOptionsParamResponse) Format() string + func (res *GetSystemBootOptionsParamResponse) Unpack(msg []byte) error + type GetSystemRestartCauseRequest struct + func (req *GetSystemRestartCauseRequest) Command() types.Command + func (req *GetSystemRestartCauseRequest) Pack() []byte + type GetSystemRestartCauseResponse struct + ChannelNumber uint8 + SystemRestartCause SystemRestartCause + func (res *GetSystemRestartCauseResponse) Format() string + func (res *GetSystemRestartCauseResponse) Unpack(msg []byte) error + type PowerRestorePolicy uint8 + const PowerRestorePolicyAlwaysOff + const PowerRestorePolicyAlwaysOn + const PowerRestorePolicyPrevious + func (p PowerRestorePolicy) String() string + type SetACPIPowerStateRequest struct + DevicePowerState DevicePowerState + SetDevicePowerState bool + SetSystemPowerState bool + SystemPowerState SystemPowerState + func (req *SetACPIPowerStateRequest) Command() types.Command + func (req *SetACPIPowerStateRequest) Pack() []byte + type SetACPIPowerStateResponse struct + func (res *SetACPIPowerStateResponse) Format() string + func (res *SetACPIPowerStateResponse) Unpack(msg []byte) error + type SetChassisCapabilitiesRequest struct + BridgeDeviceAddress uint8 + FRUDeviceAddress uint8 + ProvideFrontPanelLockout bool + ProvideIntrusionSensor bool + SDRDeviceAddress uint8 + SELDeviceAddress uint8 + SystemManagementDeviceAddress uint8 + func (req *SetChassisCapabilitiesRequest) Command() types.Command + func (req *SetChassisCapabilitiesRequest) Pack() []byte + type SetChassisCapabilitiesResponse struct + func (res *SetChassisCapabilitiesResponse) Format() string + func (res *SetChassisCapabilitiesResponse) Unpack(msg []byte) error + type SetFrontPanelEnablesRequest struct + DisableDiagnosticButton bool + DisablePoweroffButton bool + DisableResetButton bool + DisableSleepButton bool + func (req *SetFrontPanelEnablesRequest) Command() types.Command + func (req *SetFrontPanelEnablesRequest) Pack() []byte + type SetFrontPanelEnablesResponse struct + func (res *SetFrontPanelEnablesResponse) Format() string + func (res *SetFrontPanelEnablesResponse) Unpack(msg []byte) error + type SetPowerCycleIntervalRequest struct + IntervalInSec uint8 + func (req *SetPowerCycleIntervalRequest) Command() types.Command + func (req *SetPowerCycleIntervalRequest) Pack() []byte + type SetPowerCycleIntervalResponse struct + func (res *SetPowerCycleIntervalResponse) Format() string + func (res *SetPowerCycleIntervalResponse) Unpack(msg []byte) error + type SetPowerRestorePolicyRequest struct + func (req *SetPowerRestorePolicyRequest) Command() types.Command + func (req *SetPowerRestorePolicyRequest) Pack() []byte + type SetPowerRestorePolicyResponse struct + SupportPolicyAlwaysOff bool + SupportPolicyAlwaysOn bool + SupportPolicyPrevious bool + func (res *SetPowerRestorePolicyResponse) Format() string + func (res *SetPowerRestorePolicyResponse) Unpack(msg []byte) error + type SetSystemBootOptionsParamRequest struct + MarkParameterInvalid bool + ParamData []byte + ParamSelector types.BootOptionParamSelector + func (req *SetSystemBootOptionsParamRequest) Command() types.Command + func (req *SetSystemBootOptionsParamRequest) Pack() []byte + type SetSystemBootOptionsParamResponse struct + func (res *SetSystemBootOptionsParamResponse) Format() string + func (res *SetSystemBootOptionsParamResponse) Unpack(msg []byte) error + type SystemPowerState uint8 + func (s SystemPowerState) String() string + type SystemRestartCause uint8 + func (c SystemRestartCause) String() string