Documentation ¶
Overview ¶
Package uresponse ...
Package uresponse ...
Index ¶
- type Actions
- type ClientCertificates
- type Collection
- type FirmwareInventory
- type HTTPPushURIApplyTime
- type HTTPPushURIOptions
- type OEM
- type RedfishOperationApplyTimeSupport
- type RemoteServerCertificates
- type SoftwareInventory
- type Status
- type UpdateService
- type UpdateServiceSimpleUpdate
- type UpdateServiceStartUpdate
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Actions ¶
type Actions struct { UpdateServiceSimpleUpdate UpdateServiceSimpleUpdate `json:"#UpdateService.SimpleUpdate"` UpdateServiceStartUpdate UpdateServiceStartUpdate `json:"#UpdateService.StartUpdate"` }
Actions defines the links to the actions available under the service
type ClientCertificates ¶
type ClientCertificates struct {
OdataID string `json:"@odata.id"`
}
ClientCertificates defines client identity certificates provided to the server referenced by the Destination property
type Collection ¶
type Collection struct { OdataContext string `json:"@odata.context"` Etag string `json:"@odata.etag,omitempty"` OdataID string `json:"@odata.id"` OdataType string `json:"@odata.type"` Description string `json:"Description"` Name string `json:"Name"` Members []dmtf.Link `json:"Members"` MembersCount int `json:"Members@odata.count"` }
Collection struct defines the values for a collection of resources
type FirmwareInventory ¶
type FirmwareInventory struct {
OdataID string `json:"@odata.id"`
}
FirmwareInventory defines the links to BMC firmware inventory
type HTTPPushURIApplyTime ¶
type HTTPPushURIApplyTime struct { ApplyTime string `json:"ApplyTime,omitempty"` MaintenanceWindowDurationInSeconds int `json:"MaintenanceWindowDurationInSeconds,omitempty"` MaintenanceWindowStartTime string `json:"MaintenanceWindowStartTime,omitempty"` }
HTTPPushURIApplyTime defines the settings for when toapply HttpPushUri-provided firmware.
type HTTPPushURIOptions ¶
type HTTPPushURIOptions struct { HTTPPushURIApplyTime *HTTPPushURIApplyTime `json:"HTTPPushURIApplyTime,omitempty"` ForceUpdate bool `json:"ForceUpdate,omitempty"` }
HTTPPushURIOptions defines the options for HttpPushUri-provided software updates
type RedfishOperationApplyTimeSupport ¶
type RedfishOperationApplyTimeSupport struct { OdataType string `json:"@odata.type,omitempty"` SupportedValues []string `json:"SupportedValues,omitempty"` }
RedfishOperationApplyTimeSupport struct defines the apply time for the action in place
type RemoteServerCertificates ¶
type RemoteServerCertificates struct {
OdataID string `json:"@odata.id"`
}
RemoteServerCertificates define server certificates for the server referenced by the ImageURI property in SimpleUpdate
type SoftwareInventory ¶
type SoftwareInventory struct {
OdataID string `json:"@odata.id"`
}
SoftwareInventory defines the links to BMC software inventory
type Status ¶
type Status struct { State string `json:"State"` Health string `json:"Health"` HealthRollup string `json:"HealthRollup"` }
Status defines the service status
type UpdateService ¶
type UpdateService struct { response.Response Status Status `json:"Status"` ServiceEnabled bool `json:"ServiceEnabled"` HTTPPushURI string `json:"HttpPushUri"` FirmwareInventory FirmwareInventory `json:"FirmwareInventory"` SoftwareInventory SoftwareInventory `json:"SoftwareInventory"` Actions Actions `json:"Actions"` OEM *OEM `json:"Oem,omitempty"` ClientCertificates *ClientCertificates `json:"ClientCertificates,omitempty"` HTTPPushURIOptions *HTTPPushURIOptions `json:"HttpPushUriOptions,omitempty"` HTTPPushURIiOptionsBusy bool `json:"HttpPushUriOptionsBusy,omitempty"` HTTPPushURITargets []string `json:"HttpPushUriTargets,omitempty"` HTTPPushURITargetsBusy bool `json:"HttpPushUriTargetsBusy,omitempty"` MaxImageSizeBytes int `json:"MaxImageSizeBytes,omitempty"` MultipartHTTPPushURI string `json:"MultipartHttpPushUri,omitempty"` VerifyRemoteServerCertificate bool `json:"VerifyRemoteServerCertificate,omitempty"` RemoteServerCertificates *RemoteServerCertificates `json:"RemoteServerCertificates,omitempty"` }
UpdateService defines the service properties of update service
type UpdateServiceSimpleUpdate ¶
type UpdateServiceSimpleUpdate struct { Target string `json:"target"` ActionInfo string `json:"@Redfish.ActionInfo,omitempty"` RedfishOperationApplyTimeSupport RedfishOperationApplyTimeSupport `json:"@Redfish.OperationApplyTimeSupport,omitempty"` }
UpdateServiceSimpleUpdate defines Target information for the upgrade
type UpdateServiceStartUpdate ¶
type UpdateServiceStartUpdate struct { Target string `json:"target"` ActionInfo string `json:"@Redfish.ActionInfo,omitempty"` }
UpdateServiceStartUpdate defines Target information for the upgrade