ilo

package
v0.3.9-5 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2022 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

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 (r *SILORefishApi) GetNTPConf(ctx context.Context) (redfish.SNTPConf, error)

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 (r *SILORefishApi) MountVirtualCdrom(ctx context.Context, path string, cdromUrl string, boot bool) error

func (*SILORefishApi) ParseRoot

func (r *SILORefishApi) ParseRoot(root jsonutils.JSONObject) error

func (*SILORefishApi) Probe

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

func (*SILORefishApi) ReadManagerLogs

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

func (*SILORefishApi) ReadSystemLogs

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

func (*SILORefishApi) SetIndicatorLED

func (r *SILORefishApi) SetIndicatorLED(ctx context.Context, on bool) error

func (*SILORefishApi) SetNTPConf

func (r *SILORefishApi) SetNTPConf(ctx context.Context, conf redfish.SNTPConf) error

func (*SILORefishApi) SetNextBootVirtualCdrom

func (r *SILORefishApi) SetNextBootVirtualCdrom(ctx context.Context) error

Jump to

Keyboard shortcuts

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