hprest

package
v0.0.0-...-6410feb Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 25, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

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) BmcReset

func (r *SHpRestApi) BmcReset(ctx context.Context) error

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) Probe

func (r *SHpRestApi) Probe(ctx context.Context) error

func (*SHpRestApi) ReadManagerLogs

func (r *SHpRestApi) ReadManagerLogs(ctx context.Context, since time.Time) ([]redfish.SEvent, error)

func (*SHpRestApi) ReadSystemLogs

func (r *SHpRestApi) ReadSystemLogs(ctx context.Context, since time.Time) ([]redfish.SEvent, error)

func (*SHpRestApi) Reset

func (r *SHpRestApi) Reset(ctx context.Context, action string) error

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL