Documentation ¶
Index ¶
- func Find(slice []string, val string) (int, bool)
- func NewInvalidInputError(Message string, CompIDs []string) (err error)
- func RemoveDuplicateStrings(stringSlice []string) []string
- func StringSliceEquals(obj []string, other []string) bool
- func UUIDSliceEquals(obj []uuid.UUID, other []uuid.UUID) bool
- type DeviceFirmwareVersion
- type IDList
- type IDResp
- type Passback
- type Problem7807
- type TaskLink
- type TaskStateStatus
- type UpdateInfo
- type UpdateInformation
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewInvalidInputError ¶
func RemoveDuplicateStrings ¶ added in v1.9.6
func StringSliceEquals ¶
Types ¶
type DeviceFirmwareVersion ¶
type Passback ¶
type Passback struct { StatusCode int Obj interface{} Error Problem7807 IsError bool }
func BuildErrorPassback ¶
func BuildSuccessPassback ¶
type Problem7807 ¶
type Problem7807 struct { Type_ string `json:"type"` Detail string `json:"detail,omitempty"` Instance string `json:"instance,omitempty"` Status int `json:"status,omitempty"` Title string `json:"title,omitempty"` }
RFC 7807 compliant error payload. All fields are optional except the 'type' field.
func GetFormattedErrorMessage ¶
func GetFormattedErrorMessage(err error, code int) Problem7807
func (Problem7807) Equals ¶
func (obj Problem7807) Equals(other Problem7807) (equal bool)
type TaskLink ¶
type TaskLink struct {
Link string `json:"@odata.id"`
}
Task link is returned from a call to iLO firmware update request
type TaskStateStatus ¶
type TaskStateStatus struct { TaskState string `json:"TaskState"` TaskStatus string `json:"TaskStatus"` }
Task State / Status from iLO task
type UpdateInfo ¶
type UpdateInfo struct { FlashPercentage string `json:FlashPercentage` UpdateStatus string `json:UpdateStatus` UpdateTarget string `json:UpdateTarget` }
Update Info - Valuable data from Gigabyte update information structure
type UpdateInformation ¶
type UpdateInformation struct { Oem struct { AMIUpdateService struct { UpdateInformation struct { FlashPercentage string `json:FlashPercentage` UpdateStatus string `json:UpdateStatus` UpdateTarget string `json:UpdateTarget` } } } }
Update Information from a Gigabyte update
Click to show internal directories.
Click to hide internal directories.