v1

package
v0.0.0-...-27a102d Latest Latest
Warning

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

Go to latest
Published: Aug 31, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package v1 contains API Schema definitions for the infra.io v1 API group +kubebuilder:object:generate=true +groupName=infra.io.odimra

Index

Constants

This section is empty.

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "infra.io.odimra", Version: "v1"}

	// SchemeBuilder is used to add go types to the GroupVersionKind scheme
	SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion}

	// AddToScheme adds the types in this group-version to the given scheme.
	AddToScheme = SchemeBuilder.AddToScheme
)
View Source
var AllowableResetValues = map[SystemDetail][]string{
	{"HPE", "ProLiant DL380 Gen10 Plus"}: {"On", "ForceOff", "GracefulShutdown", "ForceRestart", "Nmi", "PushPowerButton", "GracefulRestart"},
	{"HPE", "ProLiant DL380 Gen10"}:      {"On", "ForceOff", "GracefulShutdown", "ForceRestart", "Nmi", "PushPowerButton", "GracefulRestart"},
	{"HPE", "ProLiant DL360 Gen10"}:      {"On", "ForceOff", "GracefulShutdown", "ForceRestart", "Nmi", "PushPowerButton", "GracefulRestart"},
	{"HPE", "ProLiant DL360 Gen10 Plus"}: {"On", "ForceOff", "GracefulShutdown", "ForceRestart", "Nmi", "PushPowerButton", "GracefulRestart"},
	{"HPE", "ProLiant DL385 Gen10"}:      {"On", "ForceOff", "GracefulShutdown", "ForceRestart", "Nmi", "PushPowerButton", "GracefulRestart"},
	{"HPE", "ProLiant e910"}:             {"On", "ForceOff", "GracefulShutdown", "ForceRestart", "Nmi", "PushPowerButton", "GracefulRestart"},
	{"HPE", "ProLiant DL110 Gen10 Plus"}: {"On", "ForceOff", "GracefulShutdown", "ForceRestart", "Nmi", "PushPowerButton", "GracefulRestart"},
	{"DELL", "PowerEdge R440"}:           {"On", "ForceOff", "ForceRestart", "GracefulShutdown", "PushPowerButton", "Nmi", "PowerCycle"},
	{"LENOVO", "ThinkSystem SR630"}:      {"On", "Nmi", "GracefulShutdown", "GracefulRestart", "ForceOn", "ForceOff", "ForceRestart"},
}

AllowableResetValues defines allowable reset values for a bmc

View Source
var ResetWhenOffOff = map[State]bool{
	{"OFF", "OFF", "ForceRestart"}:     false,
	{"OFF", "OFF", "GracefulRestart"}:  false,
	{"OFF", "OFF", "GracefulShutdown"}: false,
	{"OFF", "OFF", "ForceOff"}:         false,
	{"OFF", "OFF", "On"}:               false,
	{"OFF", "OFF", "Pause"}:            false,
	{"OFF", "OFF", "Resume"}:           false,
	{"OFF", "OFF", "ForceOn"}:          false,
	{"OFF", "OFF", "Nmi"}:              false,
	{"OFF", "OFF", "PowerCycle"}:       false,
	{"OFF", "OFF", "PushPowerButton"}:  false,
	{"OFF", "OFF", "Suspend"}:          false,
}

ResetWhenOffOff map defines if reset can be applied on bmc based on different state

View Source
var ResetWhenOffOn = map[State]bool{
	{"OFF", "ON", "ForceRestart"}:     false,
	{"OFF", "ON", "GracefulRestart"}:  false,
	{"OFF", "ON", "GracefulShutdown"}: false,
	{"OFF", "ON", "ForceOff"}:         false,
	{"OFF", "ON", "On"}:               true,
	{"OFF", "ON", "Pause"}:            false,
	{"OFF", "ON", "Resume"}:           false,
	{"OFF", "ON", "ForceOn"}:          true,
	{"OFF", "ON", "Nmi"}:              false,
	{"OFF", "ON", "PowerCycle"}:       true,
	{"OFF", "ON", "PushPowerButton"}:  true,
	{"OFF", "ON", "Suspend"}:          false,
}

ResetWhenOffOn map defines if reset can be applied on bmc based on different state

View Source
var ResetWhenOnOff = map[State]bool{
	{"ON", "OFF", "ForceRestart"}:     false,
	{"ON", "OFF", "GracefulRestart"}:  false,
	{"ON", "OFF", "GracefulShutdown"}: true,
	{"ON", "OFF", "ForceOff"}:         true,
	{"ON", "OFF", "On"}:               false,
	{"ON", "OFF", "Pause"}:            true,
	{"ON", "OFF", "Resume"}:           false,
	{"ON", "OFF", "ForceOn"}:          false,
	{"ON", "OFF", "Nmi"}:              false,
	{"ON", "OFF", "PowerCycle"}:       false,
	{"ON", "OFF", "PushPowerButton"}:  true,
	{"ON", "OFF", "Suspend"}:          true,
}

ResetWhenOnOff map defines if reset can be applied on bmc based on different state

View Source
var ResetWhenOnOn = map[State]bool{
	{"ON", "ON", "ForceRestart"}:     true,
	{"ON", "ON", "GracefulRestart"}:  true,
	{"ON", "ON", "GracefulShutdown"}: false,
	{"ON", "ON", "ForceOff"}:         false,
	{"ON", "ON", "On"}:               false,
	{"ON", "ON", "Pause"}:            true,
	{"ON", "ON", "Resume"}:           false,
	{"ON", "ON", "ForceOn"}:          false,
	{"ON", "ON", "Nmi"}:              true,
	{"ON", "ON", "PowerCycle"}:       true,
	{"ON", "ON", "PushPowerButton"}:  false,
	{"ON", "ON", "Suspend"}:          true,
}

ResetWhenOnOn map defines if reset can be applied on bmc based on different state

View Source
var Vendor = []string{"HPE", "DELL", "LENOVO"}

Vendor defines supportable vendors

Functions

This section is empty.

Types

type ArrayControllers

type ArrayControllers struct {
	SupportedRAIDLevel []string                `json:"supportedRAIDLevel"`
	Drives             map[string]DriveDetails `json:"drives"`
}

ArrayControllers defines the storage controllers for BMC

func (*ArrayControllers) DeepCopy

func (in *ArrayControllers) DeepCopy() *ArrayControllers

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArrayControllers.

func (*ArrayControllers) DeepCopyInto

func (in *ArrayControllers) DeepCopyInto(out *ArrayControllers)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type AuthDetails

type AuthDetails struct {
	Password string `json:"password,omitempty"`
	Username string `json:"username,omitempty"`
}

AuthDetails struct contains information required for authentication

func (*AuthDetails) DeepCopy

func (in *AuthDetails) DeepCopy() *AuthDetails

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthDetails.

func (*AuthDetails) DeepCopyInto

func (in *AuthDetails) DeepCopyInto(out *AuthDetails)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type BMC

type BMC struct {
	Address         string `json:"address"`
	ConnMethVariant string `json:"connectionMethodVariant"`
	PowerState      string `json:"powerState"`
	ResetType       string `json:"resetType"`
}

BMC defines a struct to hold basic properties of a BMC

func (*BMC) DeepCopy

func (in *BMC) DeepCopy() *BMC

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BMC.

func (*BMC) DeepCopyInto

func (in *BMC) DeepCopyInto(out *BMC)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type BiosSchemaRegistry

type BiosSchemaRegistry struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   BiosSchemaRegistrySpec   `json:"spec,omitempty"`
	Status BiosSchemaRegistryStatus `json:"status,omitempty"`
}

BiosSchemaRegistry is the Schema for the biosschemaregistries API

func (*BiosSchemaRegistry) DeepCopy

func (in *BiosSchemaRegistry) DeepCopy() *BiosSchemaRegistry

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BiosSchemaRegistry.

func (*BiosSchemaRegistry) DeepCopyInto

func (in *BiosSchemaRegistry) DeepCopyInto(out *BiosSchemaRegistry)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*BiosSchemaRegistry) DeepCopyObject

func (in *BiosSchemaRegistry) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type BiosSchemaRegistryList

type BiosSchemaRegistryList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []BiosSchemaRegistry `json:"items"`
}

BiosSchemaRegistryList contains a list of BiosSchemaRegistry

func (*BiosSchemaRegistryList) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BiosSchemaRegistryList.

func (*BiosSchemaRegistryList) DeepCopyInto

func (in *BiosSchemaRegistryList) DeepCopyInto(out *BiosSchemaRegistryList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*BiosSchemaRegistryList) DeepCopyObject

func (in *BiosSchemaRegistryList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type BiosSchemaRegistrySpec

type BiosSchemaRegistrySpec struct {
	Name             string              `json:"Name,omitempty"`
	ID               string              `json:"ID,omitempty"`
	OwningEntity     string              `json:"OwningEntity,omitempty"`
	RegistryVersion  string              `json:"RegistryVersion,omitempty"`
	Attributes       []map[string]string `json:"Attributes,omitempty"`
	SupportedSystems []SupportedSystems  `json:"SupportedSystems,omitempty"`
}

BiosSchemaRegistrySpec defines the desired state of BiosSchemaRegistry

func (*BiosSchemaRegistrySpec) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BiosSchemaRegistrySpec.

func (*BiosSchemaRegistrySpec) DeepCopyInto

func (in *BiosSchemaRegistrySpec) DeepCopyInto(out *BiosSchemaRegistrySpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type BiosSchemaRegistryStatus

type BiosSchemaRegistryStatus struct {
}

BiosSchemaRegistryStatus defines the observed state of BiosSchemaRegistry

func (*BiosSchemaRegistryStatus) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BiosSchemaRegistryStatus.

func (*BiosSchemaRegistryStatus) DeepCopyInto

func (in *BiosSchemaRegistryStatus) DeepCopyInto(out *BiosSchemaRegistryStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type BiosSetting

type BiosSetting struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   BiosSettingSpec   `json:"spec,omitempty"`
	Status BiosSettingStatus `json:"status,omitempty"`
}

BiosSetting is the Schema for the biossettings API

func (*BiosSetting) DeepCopy

func (in *BiosSetting) DeepCopy() *BiosSetting

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BiosSetting.

func (*BiosSetting) DeepCopyInto

func (in *BiosSetting) DeepCopyInto(out *BiosSetting)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*BiosSetting) DeepCopyObject

func (in *BiosSetting) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type BiosSettingList

type BiosSettingList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []BiosSetting `json:"items"`
}

BiosSettingList contains a list of BiosSetting

func (*BiosSettingList) DeepCopy

func (in *BiosSettingList) DeepCopy() *BiosSettingList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BiosSettingList.

func (*BiosSettingList) DeepCopyInto

func (in *BiosSettingList) DeepCopyInto(out *BiosSettingList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*BiosSettingList) DeepCopyObject

func (in *BiosSettingList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type BiosSettingSpec

type BiosSettingSpec struct {
	BmcName  string            `json:"bmcName,omitempty"`
	SystemID string            `json:"systemID,omitempty"`
	SerialNo string            `json:"serialNumber,omitempty"`
	Bios     map[string]string `json:"biosAttributes"`
}

BiosSettingSpec defines the desired state of BiosSetting

func (*BiosSettingSpec) DeepCopy

func (in *BiosSettingSpec) DeepCopy() *BiosSettingSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BiosSettingSpec.

func (*BiosSettingSpec) DeepCopyInto

func (in *BiosSettingSpec) DeepCopyInto(out *BiosSettingSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type BiosSettingStatus

type BiosSettingStatus struct {
	BiosAttributes map[string]string `json:"attributes,omitempty"`
}

BiosSettingStatus defines the observed state of BiosSetting

func (*BiosSettingStatus) DeepCopy

func (in *BiosSettingStatus) DeepCopy() *BiosSettingStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BiosSettingStatus.

func (*BiosSettingStatus) DeepCopyInto

func (in *BiosSettingStatus) DeepCopyInto(out *BiosSettingStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Bmc

type Bmc struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   BmcSpec   `json:"spec,omitempty"`
	Status BmcStatus `json:"status,omitempty"`
}

Bmc is the Schema for the bmcs API +kubebuilder:printcolumn:name="SystemID",type="string",JSONPath=".status.bmcSystemId" +kubebuilder:printcolumn:name="SerialNumber",type="string",JSONPath=".status.serialNumber" +kubebuilder:printcolumn:name="Vendor",type="string",JSONPath=".status.vendorName" +kubebuilder:printcolumn:name="ModelID",type="string",JSONPath=".status.modelID" +kubebuilder:printcolumn:name="FirmwareVersion",type="string",JSONPath=".status.firmwareVersion" +kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp"

func (*Bmc) DeepCopy

func (in *Bmc) DeepCopy() *Bmc

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Bmc.

func (*Bmc) DeepCopyInto

func (in *Bmc) DeepCopyInto(out *Bmc)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Bmc) DeepCopyObject

func (in *Bmc) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type BmcList

type BmcList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []Bmc `json:"items"`
}

BmcList contains a list of Bmc

func (*BmcList) DeepCopy

func (in *BmcList) DeepCopy() *BmcList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BmcList.

func (*BmcList) DeepCopyInto

func (in *BmcList) DeepCopyInto(out *BmcList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*BmcList) DeepCopyObject

func (in *BmcList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type BmcSpec

type BmcSpec struct {
	BmcDetails  BMC        `json:"bmc"`
	Credentials Credential `json:"credentials,omitempty"`
}

BmcSpec defines the desired state of Bmc

func (*BmcSpec) DeepCopy

func (in *BmcSpec) DeepCopy() *BmcSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BmcSpec.

func (*BmcSpec) DeepCopyInto

func (in *BmcSpec) DeepCopyInto(out *BmcSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type BmcStatus

type BmcStatus struct {
	BmcAddStatus          string                      `json:"bmcAddStatus"`
	BmcSystemID           string                      `json:"bmcSystemId"`
	SerialNumber          string                      `json:"serialNumber"`
	VendorName            string                      `json:"vendorName"`
	ModelID               string                      `json:"modelID"`
	FirmwareVersion       string                      `json:"firmwareVersion"`
	BiosVersion           string                      `json:"biosVersion"`
	BiosAttributeRegistry string                      `json:"biosAttributeRegistry"`
	EventsMessageRegistry string                      `json:"eventsMessageRegistry,omitempty"`
	StorageControllers    map[string]ArrayControllers `json:"storageControllers,omitempty"`
	SystemReset           string                      `json:"systemReset"`
	PowerState            string                      `json:"powerState"`
}

BmcStatus defines the observed state of Bmc

func (*BmcStatus) DeepCopy

func (in *BmcStatus) DeepCopy() *BmcStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BmcStatus.

func (*BmcStatus) DeepCopyInto

func (in *BmcStatus) DeepCopyInto(out *BmcStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type BootOrderSetting

type BootOrderSetting struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   BootOrderSettingsSpec   `json:"spec,omitempty"`
	Status BootOrderSettingsStatus `json:"status,omitempty"`
}

BootOrderSetting is the Schema for the bootordersetting API

func (*BootOrderSetting) DeepCopy

func (in *BootOrderSetting) DeepCopy() *BootOrderSetting

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BootOrderSetting.

func (*BootOrderSetting) DeepCopyInto

func (in *BootOrderSetting) DeepCopyInto(out *BootOrderSetting)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*BootOrderSetting) DeepCopyObject

func (in *BootOrderSetting) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type BootOrderSettingList

type BootOrderSettingList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []BootOrderSetting `json:"items"`
}

BootOrderSettingList contains a list of BootOrderSettings

func (*BootOrderSettingList) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BootOrderSettingList.

func (*BootOrderSettingList) DeepCopyInto

func (in *BootOrderSettingList) DeepCopyInto(out *BootOrderSettingList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*BootOrderSettingList) DeepCopyObject

func (in *BootOrderSettingList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type BootOrderSettingsSpec

type BootOrderSettingsSpec struct {
	BmcName  string       `json:"bmcName,omitempty"`
	SystemID string       `json:"systemID,omitempty"`
	SerialNo string       `json:"serialNumber,omitempty"`
	Boot     *BootSetting `json:"boot,omitempty"`
}

BootOrderSettingsSpec defines the desired state of BootOrderSettings

func (*BootOrderSettingsSpec) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BootOrderSettingsSpec.

func (*BootOrderSettingsSpec) DeepCopyInto

func (in *BootOrderSettingsSpec) DeepCopyInto(out *BootOrderSettingsSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type BootOrderSettingsStatus

type BootOrderSettingsStatus struct {
	Boot BootSetting `json:"boot,omitempty"`
}

BootOrderSettingsStatus defines the observed state of BootOrderSettings

func (*BootOrderSettingsStatus) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BootOrderSettingsStatus.

func (*BootOrderSettingsStatus) DeepCopyInto

func (in *BootOrderSettingsStatus) DeepCopyInto(out *BootOrderSettingsStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type BootSetting

type BootSetting struct {
	BootOrder                    []string `json:"bootOrder,omitempty"`
	BootSourceOverrideEnabled    string   `json:"bootSourceOverrideEnabled,omitempty"`
	BootSourceOverrideMode       string   `json:"bootSourceOverrideMode,omitempty"`
	BootSourceOverrideTarget     string   `json:"bootSourceOverrideTarget,omitempty"`
	BootTargetAllowableValues    []string `json:"bootSourceOverrideTarget.AllowableValues,omitempty"`
	UefiTargetBootSourceOverride string   `json:"uefiTargetBootSourceOverride,omitempty"`
	UefiTargetAllowableValues    []string `json:"uefiTargetBootSourceOverride.AllowableValues,omitempty"`
}

BootSetting defines the different settings for boot

func (*BootSetting) DeepCopy

func (in *BootSetting) DeepCopy() *BootSetting

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BootSetting.

func (*BootSetting) DeepCopyInto

func (in *BootSetting) DeepCopyInto(out *BootSetting)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Credential

type Credential struct {
	Username string `json:"username"`
	Password string `json:"password"`
}

Credential struct holds username and password for the BMC

func (*Credential) DeepCopy

func (in *Credential) DeepCopy() *Credential

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Credential.

func (*Credential) DeepCopyInto

func (in *Credential) DeepCopyInto(out *Credential)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type DriveDetails

type DriveDetails struct {
	CapacityBytes string `json:"capacityBytes"`
	UsedInVolumes []int  `json:"usedInVolumes"`
}

DriveDetails defines the drive details for specific Array Controller

func (*DriveDetails) DeepCopy

func (in *DriveDetails) DeepCopy() *DriveDetails

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DriveDetails.

func (*DriveDetails) DeepCopyInto

func (in *DriveDetails) DeepCopyInto(out *DriveDetails)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type EventMessage

type EventMessage struct {
	Description  string         `json:"Description,omitempty"`
	Message      string         `json:"Message,omitempty"`
	NumberOfArgs string         `json:"NumberOfArgs,omitempty"`
	Oem          map[string]Oem `json:"Oem,omitempty"`
	ParamTypes   []string       `json:"ParamTypes,omitempty"`
	Resolution   string         `json:"Resolution,omitempty"`
	Severity     string         `json:"Severity,omitempty"`
}

EventMessage defines the message struct

func (*EventMessage) DeepCopy

func (in *EventMessage) DeepCopy() *EventMessage

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EventMessage.

func (*EventMessage) DeepCopyInto

func (in *EventMessage) DeepCopyInto(out *EventMessage)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type EventsMessageRegistry

type EventsMessageRegistry struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   EventsMessageRegistrySpec   `json:"spec,omitempty"`
	Status EventsMessageRegistryStatus `json:"status,omitempty"`
}

EventsMessageRegistry is the Schema for the eventsmessageregistries API

func (*EventsMessageRegistry) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EventsMessageRegistry.

func (*EventsMessageRegistry) DeepCopyInto

func (in *EventsMessageRegistry) DeepCopyInto(out *EventsMessageRegistry)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*EventsMessageRegistry) DeepCopyObject

func (in *EventsMessageRegistry) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type EventsMessageRegistryList

type EventsMessageRegistryList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []EventsMessageRegistry `json:"items"`
}

EventsMessageRegistryList contains a list of EventsMessageRegistry

func (*EventsMessageRegistryList) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EventsMessageRegistryList.

func (*EventsMessageRegistryList) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*EventsMessageRegistryList) DeepCopyObject

func (in *EventsMessageRegistryList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type EventsMessageRegistrySpec

type EventsMessageRegistrySpec struct {
	Name            string                  `json:"Name,omitempty"`
	ID              string                  `json:"ID,omitempty"`
	OwningEntity    string                  `json:"OwningEntity,omitempty"`
	RegistryVersion string                  `json:"RegistryVersion,omitempty"`
	RegistryPrefix  string                  `json:"RegistryPrefix,omitempty"`
	Messages        map[string]EventMessage `json:"Messages,omitempty"`
}

EventsMessageRegistrySpec defines the desired state of EventsMessageRegistry

func (*EventsMessageRegistrySpec) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EventsMessageRegistrySpec.

func (*EventsMessageRegistrySpec) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type EventsMessageRegistryStatus

type EventsMessageRegistryStatus struct {
}

EventsMessageRegistryStatus defines the observed state of EventsMessageRegistry

func (*EventsMessageRegistryStatus) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EventsMessageRegistryStatus.

func (*EventsMessageRegistryStatus) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Eventsubscription

type Eventsubscription struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   EventsubscriptionSpec   `json:"spec,omitempty"`
	Status EventsubscriptionStatus `json:"status,omitempty"`
}

Eventsubscription is the Schema for the eventsubscriptions API +kubebuilder:printcolumn:name="EventSubscriptionID",type="string",JSONPath=".status.eventSubscriptionID" +kubebuilder:printcolumn:name="Destination",type="string",JSONPath=".status.destination" +kubebuilder:printcolumn:name="Context",type="string",JSONPath=".status.context" +kubebuilder:printcolumn:name="SubscriptionType",type="string",JSONPath=".status.subscriptionType"

func (*Eventsubscription) DeepCopy

func (in *Eventsubscription) DeepCopy() *Eventsubscription

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Eventsubscription.

func (*Eventsubscription) DeepCopyInto

func (in *Eventsubscription) DeepCopyInto(out *Eventsubscription)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Eventsubscription) DeepCopyObject

func (in *Eventsubscription) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type EventsubscriptionList

type EventsubscriptionList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []Eventsubscription `json:"items"`
}

EventsubscriptionList contains a list of Eventsubscription

func (*EventsubscriptionList) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EventsubscriptionList.

func (*EventsubscriptionList) DeepCopyInto

func (in *EventsubscriptionList) DeepCopyInto(out *EventsubscriptionList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*EventsubscriptionList) DeepCopyObject

func (in *EventsubscriptionList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type EventsubscriptionSpec

type EventsubscriptionSpec struct {
	Name                 string   `json:"name,omitempty"`
	Destination          string   `json:"destination"`
	EventTypes           []string `json:"eventTypes,omitempty"`
	MessageIds           []string `json:"messageIds,omitempty"`
	ResourceTypes        []string `json:"resourceTypes,omitempty"`
	Context              string   `json:"context"`
	EventFormatType      string   `json:"eventFormatType,omitempty"`
	SubordinateResources bool     `json:"subordinateResources,omitempty"`
	OriginResources      []string `json:"originResources,omitempty"`
}

EventsubscriptionSpec defines the desired state of Eventsubscription

func (*EventsubscriptionSpec) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EventsubscriptionSpec.

func (*EventsubscriptionSpec) DeepCopyInto

func (in *EventsubscriptionSpec) DeepCopyInto(out *EventsubscriptionSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type EventsubscriptionStatus

type EventsubscriptionStatus struct {
	ID               string   `json:"eventSubscriptionID"`
	Name             string   `json:"name,omitempty"`
	Destination      string   `json:"destination"`
	Context          string   `json:"context"`
	Protocol         string   `json:"protocol"`
	EventTypes       []string `json:"eventTypes,omitempty"`
	MessageIds       []string `json:"messageIds,omitempty"`
	SubscriptionType string   `json:"subscriptionType"`
	ResourceTypes    []string `json:"resourceTypes,omitempty"`
	OriginResources  []string `json:"originResources,omitempty"`
}

EventsubscriptionStatus defines the observed state of Eventsubscription

func (*EventsubscriptionStatus) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EventsubscriptionStatus.

func (*EventsubscriptionStatus) DeepCopyInto

func (in *EventsubscriptionStatus) DeepCopyInto(out *EventsubscriptionStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Firmware

type Firmware struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   FirmwareSpec   `json:"spec,omitempty"`
	Status FirmwareStatus `json:"status,omitempty"`
}

Firmware is the Schema for the firmwares API

func (*Firmware) DeepCopy

func (in *Firmware) DeepCopy() *Firmware

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Firmware.

func (*Firmware) DeepCopyInto

func (in *Firmware) DeepCopyInto(out *Firmware)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Firmware) DeepCopyObject

func (in *Firmware) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type FirmwareList

type FirmwareList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []Firmware `json:"items"`
}

FirmwareList contains a list of Firmware

func (*FirmwareList) DeepCopy

func (in *FirmwareList) DeepCopy() *FirmwareList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FirmwareList.

func (*FirmwareList) DeepCopyInto

func (in *FirmwareList) DeepCopyInto(out *FirmwareList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*FirmwareList) DeepCopyObject

func (in *FirmwareList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type FirmwareSpec

type FirmwareSpec struct {
	Image            ImageDetails `json:"image"`
	TransferProtocol string       `json:"transferProtocol,omitempty"`
}

FirmwareSpec defines the desired state of Firmware

func (*FirmwareSpec) DeepCopy

func (in *FirmwareSpec) DeepCopy() *FirmwareSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FirmwareSpec.

func (*FirmwareSpec) DeepCopyInto

func (in *FirmwareSpec) DeepCopyInto(out *FirmwareSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type FirmwareStatus

type FirmwareStatus struct {
	Status          string `json:"status,omitempty"`
	FirmwareVersion string `json:"firmwareVersion,omitempty"`
	ImagePath       string `json:"imagePath,omitempty"`
}

FirmwareStatus defines the observed state of Firmware

func (*FirmwareStatus) DeepCopy

func (in *FirmwareStatus) DeepCopy() *FirmwareStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FirmwareStatus.

func (*FirmwareStatus) DeepCopyInto

func (in *FirmwareStatus) DeepCopyInto(out *FirmwareStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Identifier

type Identifier struct {
	DurableName       string `json:"DurableName"`
	DurableNameFormat string `json:"DurableNameFormat"`
}

func (*Identifier) DeepCopy

func (in *Identifier) DeepCopy() *Identifier

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Identifier.

func (*Identifier) DeepCopyInto

func (in *Identifier) DeepCopyInto(out *Identifier)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ImageDetails

type ImageDetails struct {
	ImageLocation string      `json:"imageLocation"`
	Auth          AuthDetails `json:"auth,omitempty"`
}

ImageDetails holds information for firmware image

func (*ImageDetails) DeepCopy

func (in *ImageDetails) DeepCopy() *ImageDetails

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageDetails.

func (*ImageDetails) DeepCopyInto

func (in *ImageDetails) DeepCopyInto(out *ImageDetails)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Odim

type Odim struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              OdimSpec   `json:"spec,omitempty"`
	Status            OdimStatus `json:"status,omitempty"`
}

+kubebuilder:object:root=true +kubebuilder:subresource:status Odim is the Schema for the odims API +kubebuilder:printcolumn:name="URL",type="string",JSONPath=".spec.URL" +kubebuilder:printcolumn:name="Status",type="string",JSONPath=".status.status" +kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp"

func (*Odim) DeepCopy

func (in *Odim) DeepCopy() *Odim

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Odim.

func (*Odim) DeepCopyInto

func (in *Odim) DeepCopyInto(out *Odim)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Odim) DeepCopyObject

func (in *Odim) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type OdimList

type OdimList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []Odim `json:"items"`
}

+kubebuilder:object:root=true OdimList contains a list of Odim

func (*OdimList) DeepCopy

func (in *OdimList) DeepCopy() *OdimList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OdimList.

func (*OdimList) DeepCopyInto

func (in *OdimList) DeepCopyInto(out *OdimList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*OdimList) DeepCopyObject

func (in *OdimList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type OdimSpec

type OdimSpec struct {
	URL               string `json:"URL"`
	EventListenerHost string `json:"EventListenerHost"`
}

OdimSpec defines the desired state of Odim

func (*OdimSpec) DeepCopy

func (in *OdimSpec) DeepCopy() *OdimSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OdimSpec.

func (*OdimSpec) DeepCopyInto

func (in *OdimSpec) DeepCopyInto(out *OdimSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type OdimStatus

type OdimStatus struct {
	Status           string            `json:"status,omitempty"`
	ConnMethVariants map[string]string `json:"connectionMethodVariants,omitempty"`
}

OdimStatus defines the observed state of Odim

func (*OdimStatus) DeepCopy

func (in *OdimStatus) DeepCopy() *OdimStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OdimStatus.

func (*OdimStatus) DeepCopyInto

func (in *OdimStatus) DeepCopyInto(out *OdimStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Oem

type Oem struct {
	OdataType      string `json:"odataType,omitempty"`
	HealthCategory string `json:"HealthCategory,omitempty"`
	Type           string `json:"Type,omitempty"`
}

Oem defines the Oem property struct

func (*Oem) DeepCopy

func (in *Oem) DeepCopy() *Oem

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Oem.

func (*Oem) DeepCopyInto

func (in *Oem) DeepCopyInto(out *Oem)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type State

type State struct {
	PowerState        string
	DesiredPowerState string
	ResetType         string
}

State defines the state to be applied by user

func (*State) DeepCopy

func (in *State) DeepCopy() *State

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new State.

func (*State) DeepCopyInto

func (in *State) DeepCopyInto(out *State)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type SupportedSystems

type SupportedSystems struct {
	ProductName     string `json:"ProductName,omitempty"`
	SystemID        string `json:"SystemId,omitempty"`
	FirmwareVersion string `json:"FirmwareVersion,omitempty"`
}

SupportedSystems defines all the supported system for schema

func (*SupportedSystems) DeepCopy

func (in *SupportedSystems) DeepCopy() *SupportedSystems

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SupportedSystems.

func (*SupportedSystems) DeepCopyInto

func (in *SupportedSystems) DeepCopyInto(out *SupportedSystems)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type SystemDetail

type SystemDetail struct {
	Vendor  string
	ModelID string
}

SystemDetail struct defines basic properties of a system

func (*SystemDetail) DeepCopy

func (in *SystemDetail) DeepCopy() *SystemDetail

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SystemDetail.

func (*SystemDetail) DeepCopyInto

func (in *SystemDetail) DeepCopyInto(out *SystemDetail)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Volume

type Volume struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              VolumeSpec   `json:"spec,omitempty"`
	Status            VolumeStatus `json:"status,omitempty"`
}

+kubebuilder:object:root=true +kubebuilder:subresource:status Volume is the Schema for the volumes API +kubebuilder:printcolumn:name="VolumeName",type="string",JSONPath=".status.volumeName" +kubebuilder:printcolumn:name="VolumeID",type="string",JSONPath=".status.volumeID" +kubebuilder:printcolumn:name="RAIDType",type="string",JSONPath=".status.RAIDType" +kubebuilder:printcolumn:name="CapacityBytes",type="string",JSONPath=".status.capacityBytes"

func (*Volume) DeepCopy

func (in *Volume) DeepCopy() *Volume

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Volume.

func (*Volume) DeepCopyInto

func (in *Volume) DeepCopyInto(out *Volume)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Volume) DeepCopyObject

func (in *Volume) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type VolumeList

type VolumeList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []Volume `json:"items"`
}

+kubebuilder:object:root=true VolumeList contains a list of Volume

func (*VolumeList) DeepCopy

func (in *VolumeList) DeepCopy() *VolumeList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeList.

func (*VolumeList) DeepCopyInto

func (in *VolumeList) DeepCopyInto(out *VolumeList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*VolumeList) DeepCopyObject

func (in *VolumeList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type VolumeSpec

type VolumeSpec struct {
	StorageControllerID string `json:"storageControllerID,omitempty"`
	RAIDType            string `json:"RAIDType,omitempty"`
	Drives              []int  `json:"drives,omitempty"`
}

VolumeSpec defines the desired state of Volume +kubebuilder:validation:XPreserveUnknownFields

func (*VolumeSpec) DeepCopy

func (in *VolumeSpec) DeepCopy() *VolumeSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeSpec.

func (*VolumeSpec) DeepCopyInto

func (in *VolumeSpec) DeepCopyInto(out *VolumeSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type VolumeStatus

type VolumeStatus struct {
	VolumeID            string     `json:"volumeID"`
	VolumeName          string     `json:"volumeName"`
	RAIDType            string     `json:"RAIDType"`
	StorageControllerID string     `json:"storageControllerID"`
	Drives              []int      `json:"drives"`
	CapacityBytes       string     `json:"capacityBytes"`
	Identifiers         Identifier `json:"Identifiers"`
}

VolumeStatus defines the observed state of Volume +kubebuilder:validation:XPreserveUnknownFields

func (*VolumeStatus) DeepCopy

func (in *VolumeStatus) DeepCopy() *VolumeStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeStatus.

func (*VolumeStatus) DeepCopyInto

func (in *VolumeStatus) DeepCopyInto(out *VolumeStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

Jump to

Keyboard shortcuts

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