Documentation ¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the v1alpha1 API group +kubebuilder:object:generate=true +groupName=ironcore.dev
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "ironcore.dev", Version: "v1alpha1"} SchemeGroupVersion = GroupVersion // 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 )
Functions ¶
This section is empty.
Types ¶
type OOB ¶
type OOB struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec OOBSpec `json:"spec,omitempty"` Status OOBStatus `json:"status,omitempty"` }
OOB is the Schema for the oobs API
func (*OOB) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OOB.
func (*OOB) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*OOB) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type OOBList ¶
type OOBList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []OOB `json:"items"` }
OOBList contains a list of OOB
func (*OOBList) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OOBList.
func (*OOBList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*OOBList) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type OOBSpec ¶
type OOBSpec struct { //+optional //+kubebuilder:validation:Pattern=`^(?:None|On|Off|Blinking)$` LocatorLED string `json:"locatorLED,omitempty"` //+optional //+kubebuilder:validation:Pattern=`^(?:None|On|Off|OffImmediate)$` Power string `json:"power,omitempty"` //+optional //+kubebuilder:validation:Pattern=`^(?:None|Reset|ResetImmediate)$` Reset string `json:"reset,omitempty"` //+optional //+kubebuilder:validation:Minimum=0 Filler *int64 `json:"filler,omitempty"` }
OOBSpec defines the desired state of OOB
func (*OOBSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OOBSpec.
func (*OOBSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OOBStatus ¶
type OOBStatus struct { //+optional //+kubebuilder:validation:Pattern=`^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$` UUID string `json:"uuid,omitempty"` //+optional //+kubebuilder:validation:Pattern=`^[0-9a-f]{12}$` Mac string `json:"mac,omitempty"` //+optional //+kubebuilder:validation:Pattern=`((^[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}$)|(^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:))$))` IP string `json:"ip,omitempty"` //+optional //+kubebuilder:validation:MinLength=1 Protocol string `json:"protocol,omitempty"` //+optional Tags []TagSpec `json:"tags,omitempty"` //+optional //+kubebuilder:validation:Minimum=0 //+kubebuilder:validation:Maximum=65536 Port int `json:"port,omitempty"` //+optional //+kubebuilder:validation:MinLength=1 Type string `json:"type,omitempty"` //+optional Capabilities []string `json:"capabilities,omitempty"` //+optional //+kubebuilder:validation:MinLength=1 Manufacturer string `json:"manufacturer,omitempty"` //+optional //+kubebuilder:validation:MinLength=1 SerialNumber string `json:"serialNumber,omitempty"` //+optional //+kubebuilder:validation:MinLength=1 SKU string `json:"sku,omitempty"` //+optional //+kubebuilder:validation:Pattern=`^(?:On|Off|Blinking)$` LocatorLED string `json:"locatorLED,omitempty"` //+optional //+kubebuilder:validation:Pattern=`^(?:On|Off)$` Power string `json:"power,omitempty"` //+optional ShutdownDeadline *metav1.Time `json:"shutdownDeadline,omitempty"` //+optional //+kubebuilder:validation:Pattern=`^(?:Ok|Waiting|TimedOut)$` OS string `json:"os,omitempty"` //+optional //+kubebuilder:validation:MinLength=1 OSReason string `json:"osReason,omitempty"` //+optional OSReadDeadline *metav1.Time `json:"osReadDeadline,omitempty"` //+optional Console string `json:"console,omitempty"` //+patchStrategy=merge //+patchMergeKey=type //+optional Conditions []metav1.Condition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type" protobuf:"bytes,1,rep,name=conditions"` //+optional //+kubebuilder:validation:MinLength=1 FWVersion string `json:"fwVersion,omitempty"` }
OOBStatus defines the observed state of OOB
func (*OOBStatus) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OOBStatus.
func (*OOBStatus) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TagSpec ¶
type TagSpec struct { //+kubebuilder:validation:MinLength=1 Key string `json:"key,omitempty"` //+kubebuilder:validation:MinLength=1 Value string `json:"value,omitempty"` }
func (*TagSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TagSpec.
func (*TagSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.