Documentation
¶
Index ¶
- func IsSubMap(main, sub map[string]any) bool
- type Dell
- func (r *Dell) GetTaskMonitorDetails(ctx context.Context, taskMonitorResponse *http.Response) (*redfish.Task, error)
- func (r *Dell) GetUpdateRequestBody(parameters *redfish.SimpleUpdateParameters) *SimpleUpdateRequestBody
- func (r *Dell) GetUpdateTaskMonitorURI(response *http.Response) (string, error)
- type DellAttributes
- type DellIdracManager
- func (d *DellIdracManager) CheckBMCAttributes(ctx context.Context, attributes redfish.SettingsAttributes) (bool, error)
- func (d *DellIdracManager) GetBMCPendingAttributeValues(ctx context.Context) (redfish.SettingsAttributes, error)
- func (d *DellIdracManager) GetOEMBMCSettingAttribute(ctx context.Context, attributes map[string]string) (redfish.SettingsAttributes, error)
- func (d *DellIdracManager) GetObjFromUri(ctx context.Context, uri string, respObj any) (string, error)
- func (d *DellIdracManager) UpdateBMCAttributesApplyAt(ctx context.Context, attrs redfish.SettingsAttributes, ...) error
- type DellManagerLinksOEM
- type HPE
- type HPEILOManager
- func (h *HPEILOManager) CheckBMCAttributes(ctx context.Context, attributes redfish.SettingsAttributes) (bool, error)
- func (h *HPEILOManager) GetBMCPendingAttributeValues(ctx context.Context) (redfish.SettingsAttributes, error)
- func (h *HPEILOManager) GetOEMBMCSettingAttribute(ctx context.Context, attributes map[string]string) (redfish.SettingsAttributes, error)
- func (h *HPEILOManager) GetObjFromUri(ctx context.Context, uri string, respObj any) (string, error)
- func (h *HPEILOManager) UpdateBMCAttributesApplyAt(ctx context.Context, attrs redfish.SettingsAttributes, ...) error
- type Lenovo
- func (r *Lenovo) GetTaskMonitorDetails(ctx context.Context, taskMonitorResponse *http.Response) (*redfish.Task, error)
- func (r *Lenovo) GetUpdateRequestBody(parameters *redfish.SimpleUpdateParameters) *SimpleUpdateRequestBody
- func (r *Lenovo) GetUpdateTaskMonitorURI(response *http.Response) (string, error)
- type LenovoXCCManager
- func (l *LenovoXCCManager) CheckBMCAttributes(ctx context.Context, attributes redfish.SettingsAttributes) (bool, error)
- func (l *LenovoXCCManager) GetBMCPendingAttributeValues(ctx context.Context) (redfish.SettingsAttributes, error)
- func (l *LenovoXCCManager) GetOEMBMCSettingAttribute(ctx context.Context, attributes map[string]string) (redfish.SettingsAttributes, error)
- func (l *LenovoXCCManager) GetObjFromUri(ctx context.Context, uri string, respObj any) (string, error)
- func (l *LenovoXCCManager) UpdateBMCAttributesApplyAt(ctx context.Context, attrs redfish.SettingsAttributes, ...) error
- type ManagerInterface
- type OEMInterface
- type SimpleUpdateRequestBody
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Dell ¶
func (*Dell) GetTaskMonitorDetails ¶
func (*Dell) GetUpdateRequestBody ¶
func (r *Dell) GetUpdateRequestBody( parameters *redfish.SimpleUpdateParameters, ) *SimpleUpdateRequestBody
type DellAttributes ¶
type DellIdracManager ¶
func (*DellIdracManager) CheckBMCAttributes ¶
func (d *DellIdracManager) CheckBMCAttributes( ctx context.Context, attributes redfish.SettingsAttributes, ) (bool, error)
func (*DellIdracManager) GetBMCPendingAttributeValues ¶
func (d *DellIdracManager) GetBMCPendingAttributeValues(ctx context.Context) (redfish.SettingsAttributes, error)
func (*DellIdracManager) GetOEMBMCSettingAttribute ¶
func (d *DellIdracManager) GetOEMBMCSettingAttribute( ctx context.Context, attributes map[string]string, ) (redfish.SettingsAttributes, error)
func (*DellIdracManager) GetObjFromUri ¶
func (*DellIdracManager) UpdateBMCAttributesApplyAt ¶
func (d *DellIdracManager) UpdateBMCAttributesApplyAt( ctx context.Context, attrs redfish.SettingsAttributes, applyTime common.ApplyTime, ) error
type DellManagerLinksOEM ¶
type HPE ¶
func (*HPE) GetTaskMonitorDetails ¶
func (*HPE) GetUpdateRequestBody ¶
func (r *HPE) GetUpdateRequestBody( parameters *redfish.SimpleUpdateParameters, ) *SimpleUpdateRequestBody
type HPEILOManager ¶ added in v0.2.0
func (*HPEILOManager) CheckBMCAttributes ¶ added in v0.2.0
func (h *HPEILOManager) CheckBMCAttributes( ctx context.Context, attributes redfish.SettingsAttributes, ) (bool, error)
func (*HPEILOManager) GetBMCPendingAttributeValues ¶ added in v0.2.0
func (h *HPEILOManager) GetBMCPendingAttributeValues(ctx context.Context) (redfish.SettingsAttributes, error)
func (*HPEILOManager) GetOEMBMCSettingAttribute ¶ added in v0.2.0
func (h *HPEILOManager) GetOEMBMCSettingAttribute( ctx context.Context, attributes map[string]string, ) (redfish.SettingsAttributes, error)
func (*HPEILOManager) GetObjFromUri ¶ added in v0.2.0
func (*HPEILOManager) UpdateBMCAttributesApplyAt ¶ added in v0.2.0
func (h *HPEILOManager) UpdateBMCAttributesApplyAt( ctx context.Context, attrs redfish.SettingsAttributes, applyTime common.ApplyTime, ) error
type Lenovo ¶
func (*Lenovo) GetTaskMonitorDetails ¶
func (*Lenovo) GetUpdateRequestBody ¶
func (r *Lenovo) GetUpdateRequestBody( parameters *redfish.SimpleUpdateParameters, ) *SimpleUpdateRequestBody
type LenovoXCCManager ¶ added in v0.2.0
func (*LenovoXCCManager) CheckBMCAttributes ¶ added in v0.2.0
func (l *LenovoXCCManager) CheckBMCAttributes( ctx context.Context, attributes redfish.SettingsAttributes, ) (bool, error)
func (*LenovoXCCManager) GetBMCPendingAttributeValues ¶ added in v0.2.0
func (l *LenovoXCCManager) GetBMCPendingAttributeValues(ctx context.Context) (redfish.SettingsAttributes, error)
func (*LenovoXCCManager) GetOEMBMCSettingAttribute ¶ added in v0.2.0
func (l *LenovoXCCManager) GetOEMBMCSettingAttribute( ctx context.Context, attributes map[string]string, ) (redfish.SettingsAttributes, error)
func (*LenovoXCCManager) GetObjFromUri ¶ added in v0.2.0
func (*LenovoXCCManager) UpdateBMCAttributesApplyAt ¶ added in v0.2.0
func (l *LenovoXCCManager) UpdateBMCAttributesApplyAt( ctx context.Context, attrs redfish.SettingsAttributes, applyTime common.ApplyTime, ) error
type ManagerInterface ¶ added in v0.2.0
type ManagerInterface interface {
// GetOEMBMCSettingAttribute retrieves OEM-specific BMC setting attributes.
GetOEMBMCSettingAttribute(ctx context.Context, attributes map[string]string) (redfish.SettingsAttributes, error)
// GetBMCPendingAttributeValues retrieves pending BMC attribute values.
GetBMCPendingAttributeValues(ctx context.Context) (redfish.SettingsAttributes, error)
// CheckBMCAttributes checks if the BMC attributes are valid and returns whether a reset is required.
CheckBMCAttributes(ctx context.Context, attributes redfish.SettingsAttributes) (bool, error)
// GetObjFromUri retrieves an object from a given URI and populates the response object.
GetObjFromUri(ctx context.Context, uri string, respObj any) (string, error)
// UpdateBMCAttributesApplyAt updates BMC attributes and applies them at the specified time.
UpdateBMCAttributesApplyAt(ctx context.Context, attrs redfish.SettingsAttributes, applyTime common.ApplyTime) error
}
ManagerInterface defines methods for OEM-specific Server Manager's operations in BMC.
type OEMInterface ¶ added in v0.2.0
type OEMInterface interface {
GetUpdateRequestBody(parameters *redfish.SimpleUpdateParameters) *SimpleUpdateRequestBody
GetUpdateTaskMonitorURI(response *http.Response) (string, error)
GetTaskMonitorDetails(ctx context.Context, taskMonitorResponse *http.Response) (*redfish.Task, error)
}
OEMInterface defines methods for OEM-specific Server operations in BMC.
type SimpleUpdateRequestBody ¶
type SimpleUpdateRequestBody struct {
redfish.SimpleUpdateParameters
RedfishOperationApplyTime redfish.OperationApplyTime `json:"@Redfish.OperationApplyTime,omitempty"`
}
Click to show internal directories.
Click to hide internal directories.