models

package
v0.0.0-...-81c02da Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 1, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package models ...

Package models ...

Package models ...

Package models ...

Package models ...

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetAllRegistryFileNamesFromDB

func GetAllRegistryFileNamesFromDB(ctx context.Context, table string) ([]string, *errors.Error)

GetAllRegistryFileNamesFromDB return all key in given table

func GetRegistryFile

func GetRegistryFile(ctx context.Context, Table, key string) ([]byte, *errors.Error)

GetRegistryFile fetches a resource from database using table and key

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 Links struct {
	Sessions Sessions `json:"Sessions"`
}

Links 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 OEM

type OEM struct {
}

OEM 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 Service

type Service struct {
	OdataID string `json:"@odata.id"`
}

Service struct 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

type Value

type Value struct {
	Name string `json:"name"`
	Kind string `json:"kind"`
	URL  string `json:"url"`
}

Value struct definition

type Version

type Version struct {
	V1 string `json:"v1"`
}

Version struct definition

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL