Documentation ¶
Index ¶
- func NewHpRestApi(endpoint, username, password string, debug bool) redfish.IRedfishDriver
- type SHpRestApi
- func (r *SHpRestApi) BasePath() string
- func (r *SHpRestApi) BmcReset(ctx context.Context) error
- func (r *SHpRestApi) ClearManagerLogs(ctx context.Context) error
- func (r *SHpRestApi) ClearSystemLogs(ctx context.Context) error
- func (r *SHpRestApi) GetParent(parent jsonutils.JSONObject) jsonutils.JSONObject
- func (r *SHpRestApi) GetSystemInfo(ctx context.Context) (string, redfish.SSystemInfo, error)
- func (r *SHpRestApi) GetVirtualCdromInfo(ctx context.Context) (string, redfish.SCdromInfo, error)
- func (r *SHpRestApi) LinkKey() string
- func (r *SHpRestApi) LogItemsKey() string
- func (r *SHpRestApi) MemberKey() string
- func (r *SHpRestApi) Probe(ctx context.Context) error
- func (r *SHpRestApi) ReadManagerLogs(ctx context.Context, since time.Time) ([]redfish.SEvent, error)
- func (r *SHpRestApi) ReadSystemLogs(ctx context.Context, since time.Time) ([]redfish.SEvent, error)
- func (r *SHpRestApi) Reset(ctx context.Context, action string) error
- func (r *SHpRestApi) VersionKey() string
- type SHpRestApiFactory
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewHpRestApi ¶
func NewHpRestApi(endpoint, username, password string, debug bool) redfish.IRedfishDriver
Types ¶
type SHpRestApi ¶
type SHpRestApi struct {
redfish.SBaseRedfishClient
}
func (*SHpRestApi) BasePath ¶
func (r *SHpRestApi) BasePath() string
func (*SHpRestApi) ClearManagerLogs ¶
func (r *SHpRestApi) ClearManagerLogs(ctx context.Context) error
func (*SHpRestApi) ClearSystemLogs ¶
func (r *SHpRestApi) ClearSystemLogs(ctx context.Context) error
func (*SHpRestApi) GetParent ¶
func (r *SHpRestApi) GetParent(parent jsonutils.JSONObject) jsonutils.JSONObject
func (*SHpRestApi) GetSystemInfo ¶
func (r *SHpRestApi) GetSystemInfo(ctx context.Context) (string, redfish.SSystemInfo, error)
func (*SHpRestApi) GetVirtualCdromInfo ¶
func (r *SHpRestApi) GetVirtualCdromInfo(ctx context.Context) (string, redfish.SCdromInfo, error)
func (*SHpRestApi) LinkKey ¶
func (r *SHpRestApi) LinkKey() string
func (*SHpRestApi) LogItemsKey ¶
func (r *SHpRestApi) LogItemsKey() string
func (*SHpRestApi) MemberKey ¶
func (r *SHpRestApi) MemberKey() string
func (*SHpRestApi) ReadManagerLogs ¶
func (*SHpRestApi) ReadSystemLogs ¶
func (*SHpRestApi) VersionKey ¶
func (r *SHpRestApi) VersionKey() string
type SHpRestApiFactory ¶
type SHpRestApiFactory struct { }
func (*SHpRestApiFactory) Name ¶
func (f *SHpRestApiFactory) Name() string
func (*SHpRestApiFactory) NewApi ¶
func (f *SHpRestApiFactory) NewApi(endpoint, username, password string, debug bool) redfish.IRedfishDriver
Click to show internal directories.
Click to hide internal directories.