Documentation
¶
Overview ¶
Package models ...
Package models ...
Package models ...
Package models ...
Package models ...
Index ¶
- func GetAllRegistryFileNamesFromDB(ctx context.Context, table string) ([]string, *errors.Error)
- func GetRegistryFile(ctx context.Context, Table, key string) ([]byte, *errors.Error)
- type ExpandQuery
- type Include
- type Links
- type Metadata
- type OEM
- type Odata
- type PFSupported
- type Reference
- type Service
- type ServiceRoot
- type Sessions
- type Value
- type Version
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetAllRegistryFileNamesFromDB ¶
GetAllRegistryFileNamesFromDB return all key in given table
Types ¶
type ExpandQuery ¶
type ExpandQuery struct {
ExpandAll bool `json:"ExpandAll"`
Levels bool `json:"Levels"`
Links bool `json:"Links"`
MaxLevels int `json:"MaxLevels"`
NoLinks bool `json:"NoLinks"`
}
ExpandQuery struct definition
type Include ¶
type Include struct {
Namespace string `xml:"Namespace,attr"`
Alias string `xml:"Alias,attr,omitempty"`
}
Include struct definition
type Metadata ¶
type Metadata struct {
XMLName xml.Name `xml:"edmx:Edmx"`
Xmlnsedmx string `xml:"xmlns:edmx,attr"`
Version string `xml:"Version,attr"`
TopReference []Reference
}
Metadata struct definition
type Odata ¶
type Odata struct {
RedfishCopyright string `json:"@Redfish.Copyright"`
OdataContext string `json:"@odata.context"`
Value []*Value `json:"value"`
}
Odata struct definition
type PFSupported ¶
type PFSupported struct {
ExcerptQuery bool `json:"ExcerptQuery"`
ExpandQuery *ExpandQuery `json:"ExpandQuery:omitempty"`
FilterQuery bool `json:"FilterQuery"`
OnlyMemberQuery bool `json:"OnlyMemberQuery"`
SelectQuery bool `json:"SelectQuery"`
}
PFSupported struct definition
type Reference ¶
type Reference struct {
XMLName xml.Name `xml:"edmx:Reference"`
URI string `xml:"Uri,attr"`
TopInclude []Include `xml:"edmx:Include"`
}
Reference strcut definition
type ServiceRoot ¶
type ServiceRoot struct {
OdataContext string `json:"@odata.context"`
Etag string `json:"@odata.etag,omitempty"`
OdataID string `json:"@odata.id"`
OdataType string `json:"@odata.type"`
ID string `json:"Id"`
ProtocolFeaturesSupported *PFSupported `json:"ProtocolFeaturesSupported,omitempty"`
Registries *Service `json:"Registries,omitempty"`
SessionService *Service `json:"SessionService,omitempty"`
AccountService *Service `json:"AccountService,omitempty"`
JSONSchemas *Service `json:"JsonSchemas,omitempty"`
EventService *Service `json:"EventService,omitempty"`
JobService *Service `json:"JobService,omitempty"`
Tasks *Service `json:"Tasks,omitempty"`
AggregationService *Service `json:"AggregationService,omitempty"`
Systems *Service `json:"Systems,omitempty"`
Chassis *Service `json:"Chassis,omitempty"`
Fabrics *Service `json:"Fabrics,omitempty"`
Managers *Service `json:"Managers,omitempty"`
UpdateService *Service `json:"UpdateService,omitempty"`
TelemetryService *Service `json:"TelemetryService,omitempty"`
Links Links `json:"Links"`
Name string `json:"Name"`
OEM OEM `json:"Oem"`
RedfishVersion string `json:"RedfishVersion"`
UUID string `json:"UUID"`
CompositionService *Service `json:"CompositionService,omitempty"`
Description string `json:"Description,omitempty"`
Product string `json:"Product,omitempty"`
StorageServices *Service `json:"StorageServices,omitempty"`
StorageSystems *Service `json:"StorageSystems,omitempty"`
Cables *Service `json:"Cables,omitempty"`
CertificateService *Service `json:"CertificateService,omitempty"`
Facilities *Service `json:"Facilities,omitempty"`
KeyService *Service `json:"KeyService,omitempty"`
NVMeDomains *Service `json:"NVMeDomains,omitempty"`
ResourceBlocks *Service `json:"ResourceBlocks,omitempty"`
Storage *Service `json:"Storage,omitempty"`
Vendor string `json:"Vendor,omitempty"`
ServiceIdentification string `json:"ServiceIdentification,omitempty"`
MultipleHTTPRequests bool `json:"MultipleHTTPRequests,omitempty"`
ComponentIntegrity *Service `json:"ComponentIntegrity,omitempty"`
RegisteredClients *Service `json:"RegisteredClients,omitempty"`
ServiceConditions *Service `json:"ServiceConditions,omitempty"`
LicenseService *Service `json:"LicenseService,omitempty"`
}
ServiceRoot struct definition
type Sessions ¶
type Sessions struct {
OdataID string `json:"@odata.id"`
}
Sessions struct definition
Click to show internal directories.
Click to hide internal directories.