Documentation ¶
Index ¶
- Constants
- func MarshalOem(in interface{}) map[string]interface{}
- func UnmarshalOem(oem map[string]interface{}, out interface{}) error
- type Chassis
- type Drive
- type DriveLinks
- type EventDestination
- type EventDestinationCollection
- type EventService
- type InvalidMarshalOemError
- type InvalidUnmarshalOemError
- type Manager
- type ManagerActions
- type ManagerCollection
- type OdataIdRef
- type PartLocation
- type RedfishError
- type ResourceBlock
- type ResourceBlockCollection
- type ResourceIdentifier
- type ResourceLocation
- type ResourcePowerState
- type ResourceStatus
- type StoragePool
- type StorageServices
- type Volume
- type VolumeCollection
Constants ¶
const ( ON = models.ON_RPST OFF = models.OFF_RPST )
const (
ENABLED = models.ENABLED_RST
)
const (
OK = models.OK_RH
)
Variables ¶
This section is empty.
Functions ¶
func MarshalOem ¶
func MarshalOem(in interface{}) map[string]interface{}
MarshalOem method converts the provided structure into the OEM map[string]interface{} format for use in the various model_* files
func UnmarshalOem ¶
UnmarshalOem method converts an OEM map[string]interface{} into the provided structure pointer
Types ¶
type Chassis ¶
type Chassis = models.ChassisV1140Chassis
Chassis - The Chassis schema represents the physical components of a system. This resource represents the sheet-metal confined spaces and logical zones such as racks, enclosures, chassis and all other containers. Subsystems, such as sensors, that operate outside of a system's data plane are linked either directly or indirectly through this resource. A subsystem that operates outside of a system's data plane are not accessible to software that runs on the system.
type Drive ¶
type Drive = models.DriveV1110Drive
Drive - The Drive schema represents a single physical drive for a system, including links to associated volumes.
type DriveLinks ¶
type DriveLinks = models.DriveV1110Links
DriveLinks - The links to other resources that are related to this resource.
type EventDestination ¶
type EventDestination = models.EventDestinationV190EventDestination
EventDestination - The EventDestination schema defines the target of an event subscription, including the event types and context to provide to the target in the Event payload.
type EventDestinationCollection ¶
type EventDestinationCollection = models.EventDestinationCollectionEventDestinationCollection
EventDestinationCollection - A Collection of EventDestination Resource instances.
type EventService ¶
type EventService = models.EventServiceV170EventService
EventService - The EventService schema contains properties for managing event subscriptions and generates the events sent to subscribers. The resource has links to the actual collection of subscriptions, which are called event destinations.
type InvalidMarshalOemError ¶
type InvalidMarshalOemError struct {
Type reflect.StructField
}
An InvalidMarshalOemError describes a OEM value that was not appropriate value or Go type.
func (*InvalidMarshalOemError) Error ¶
func (e *InvalidMarshalOemError) Error() string
type InvalidUnmarshalOemError ¶
InvalidUnmarshalOemError describes an invalid argument passed to UnmarshalOem
func (*InvalidUnmarshalOemError) Error ¶
func (e *InvalidUnmarshalOemError) Error() string
type Manager ¶
type Manager = models.ManagerV1100Manager
Manager - In Redfish, a manager is a systems management entity that can implement or provide access to a Redfish service. Examples of managers are BMCs, enclosure managers, management controllers, and other subsystems that are assigned manageability functions. An implementation can have multiple managers, which might be directly accessible through a Redfish-defined interface.
type ManagerActions ¶
type ManagerActions = models.ManagerV1100Actions
ManagerActions - The available actions for this resource.
type ManagerCollection ¶
type ManagerCollection = models.ManagerCollectionManagerCollection
ManagerCollection - The collection of Manager resource instances.
type PartLocation ¶
type PartLocation = models.ResourceV1100PartLocation
PartLocation - The part location within the placement.
type RedfishError ¶
type RedfishError = models.RedfishError
RedfishError - The error payload from a Redfish Service.
type ResourceBlock ¶
type ResourceBlock = models.ResourceBlockV133ResourceBlock
ResourceBlock - The ResourceBlock schema contains definitions resource blocks, its components, and affinity to composed devices.
type ResourceBlockCollection ¶
type ResourceBlockCollection = models.ResourceBlockCollectionResourceBlockCollection
ResourceBlockCollection - The collection of ResourceBlock resource instances.
type ResourceIdentifier ¶
type ResourceIdentifier = models.ResourceIdentifier
ResourceIdentifier - Any additional identifiers for a resource.
type ResourceLocation ¶
type ResourceLocation = models.ResourceLocation
ResourceLocation - The location of a resource.
type ResourcePowerState ¶
type ResourcePowerState = models.ResourcePowerState
ResourcePowerState - Power state of a resource
type ResourceStatus ¶
type ResourceStatus = models.ResourceStatus
ResourceStatus - The status and health of a resource and its children.
type StoragePool ¶
type StoragePool = models.StoragePoolV150StoragePool
StoragePool - A container of data storage.
type StorageServices ¶
type StorageServices = models.StorageServiceV150StorageService
StorageServices - Collection of resources that are managed and exposed to hosts as a group.
type Volume ¶
type Volume = models.VolumeV161Volume
Volume - Volume contains properties used to describe a volume, virtual disk, LUN, or other logical storage entity for any system.
type VolumeCollection ¶
type VolumeCollection = models.VolumeCollectionVolumeCollection
VolumeCollection - A Collection of Volume resource instances.