Documentation ¶
Index ¶
- func NewILORedfishApi(endpoint, username, password string, debug bool) redfish.IRedfishDriver
- type SILORedfishApiFactory
- type SILORefishApi
- func (r *SILORefishApi) ClearManagerLogs(ctx context.Context) error
- func (r *SILORefishApi) ClearSystemLogs(ctx context.Context) error
- func (r *SILORefishApi) GetClearManagerLogsPath() string
- func (r *SILORefishApi) GetClearSystemLogsPath() string
- func (r *SILORefishApi) GetConsoleJNLP(ctx context.Context) (string, error)
- func (r *SILORefishApi) GetIndicatorLED(ctx context.Context) (bool, error)
- func (r *SILORefishApi) GetNTPConf(ctx context.Context) (redfish.SNTPConf, error)
- func (r *SILORefishApi) GetPowerPath() string
- func (r *SILORefishApi) GetThermalPath() string
- func (r *SILORefishApi) GetVirtualCdromInfo(ctx context.Context) (string, redfish.SCdromInfo, error)
- func (r *SILORefishApi) LogItemsKey() string
- func (r *SILORefishApi) MountVirtualCdrom(ctx context.Context, path string, cdromUrl string, boot bool) error
- func (r *SILORefishApi) ParseRoot(root jsonutils.JSONObject) error
- func (r *SILORefishApi) Probe(ctx context.Context) error
- func (r *SILORefishApi) ReadManagerLogs(ctx context.Context, since time.Time) ([]redfish.SEvent, error)
- func (r *SILORefishApi) ReadSystemLogs(ctx context.Context, since time.Time) ([]redfish.SEvent, error)
- func (r *SILORefishApi) SetIndicatorLED(ctx context.Context, on bool) error
- func (r *SILORefishApi) SetNTPConf(ctx context.Context, conf redfish.SNTPConf) error
- func (r *SILORefishApi) SetNextBootVirtualCdrom(ctx context.Context) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewILORedfishApi ¶
func NewILORedfishApi(endpoint, username, password string, debug bool) redfish.IRedfishDriver
Types ¶
type SILORedfishApiFactory ¶
type SILORedfishApiFactory struct { }
func (*SILORedfishApiFactory) Name ¶
func (f *SILORedfishApiFactory) Name() string
func (*SILORedfishApiFactory) NewApi ¶
func (f *SILORedfishApiFactory) NewApi(endpoint, username, password string, debug bool) redfish.IRedfishDriver
type SILORefishApi ¶
type SILORefishApi struct {
generic.SGenericRefishApi
}
func (*SILORefishApi) ClearManagerLogs ¶
func (r *SILORefishApi) ClearManagerLogs(ctx context.Context) error
func (*SILORefishApi) ClearSystemLogs ¶
func (r *SILORefishApi) ClearSystemLogs(ctx context.Context) error
func (*SILORefishApi) GetClearManagerLogsPath ¶
func (r *SILORefishApi) GetClearManagerLogsPath() string
func (*SILORefishApi) GetClearSystemLogsPath ¶
func (r *SILORefishApi) GetClearSystemLogsPath() string
func (*SILORefishApi) GetConsoleJNLP ¶
func (r *SILORefishApi) GetConsoleJNLP(ctx context.Context) (string, error)
func (*SILORefishApi) GetIndicatorLED ¶
func (r *SILORefishApi) GetIndicatorLED(ctx context.Context) (bool, error)
func (*SILORefishApi) GetNTPConf ¶
func (*SILORefishApi) GetPowerPath ¶
func (r *SILORefishApi) GetPowerPath() string
func (*SILORefishApi) GetThermalPath ¶
func (r *SILORefishApi) GetThermalPath() string
func (*SILORefishApi) GetVirtualCdromInfo ¶
func (r *SILORefishApi) GetVirtualCdromInfo(ctx context.Context) (string, redfish.SCdromInfo, error)
func (*SILORefishApi) LogItemsKey ¶
func (r *SILORefishApi) LogItemsKey() string
func (*SILORefishApi) MountVirtualCdrom ¶
func (*SILORefishApi) ParseRoot ¶
func (r *SILORefishApi) ParseRoot(root jsonutils.JSONObject) error
func (*SILORefishApi) ReadManagerLogs ¶
func (*SILORefishApi) ReadSystemLogs ¶
func (*SILORefishApi) SetIndicatorLED ¶
func (r *SILORefishApi) SetIndicatorLED(ctx context.Context, on bool) error
func (*SILORefishApi) SetNTPConf ¶
func (*SILORefishApi) SetNextBootVirtualCdrom ¶
func (r *SILORefishApi) SetNextBootVirtualCdrom(ctx context.Context) error
Click to show internal directories.
Click to hide internal directories.