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