Documentation ¶
Overview ¶
Package v1alpha1 is the v1alpha1 version of the API. +groupName=machines.onmetal.de
Index ¶
- Constants
- Variables
- func Kind(kind string) schema.GroupKind
- func RegisterDefaults(scheme *runtime.Scheme) error
- func Resource(resource string) schema.GroupResource
- type BaseBoardManagementControllerInfo
- type BaseBoardManagementControllerInfoList
- type BaseBoardManagementControllerInfoSpec
- type BasicAuthCredentials
- type CPU
- type DHCPLease
- type DHCPLeaseList
- type DHCPLeaseSpec
- type DHCPLeaseStatus
- type Disk
- type FieldReplacableUnit
- type FieldReplacableUnitInfo
- type MachineInfo
- type MachineInfoList
- type MachineInfoSpec
- type MachineInfoStatus
- type MachineType
- type MachineTypeList
- type MachineTypeSpec
- type MachineTypeStatus
- type Memory
- type NIC
- type OutOfBandInfoStatus
Constants ¶
const ( Version = "v1alpha1" GroupName = machines.GroupName )
const STATE_INVALID = "Invalid"
const STATE_OK = "Ok"
Variables ¶
var ( SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) AddToScheme = SchemeBuilder.AddToScheme )
var BASEBOARDMANAGEMENTCONTROLLERINFO = resources.NewGroupKind(GroupName, reflect.TypeOf(BaseBoardManagementControllerInfo{}).Name())
var DHCPLEASE = resources.NewGroupKind(GroupName, reflect.TypeOf(DHCPLease{}).Name())
var MACHINEINFO = resources.NewGroupKind(GroupName, reflect.TypeOf(MachineInfo{}).Name())
var MACHINETYPE = resources.NewGroupKind(GroupName, reflect.TypeOf(MachineType{}).Name())
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: Version}
SchemeGroupVersion is group version used to register these objects
Functions ¶
func RegisterDefaults ¶
RegisterDefaults adds defaulters functions to the given scheme. Public to allow building arbitrary schemes. All generated defaulters are covering - they call all nested defaulters.
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resources and returns a Group qualified GroupResource
Types ¶
type BaseBoardManagementControllerInfo ¶
type BaseBoardManagementControllerInfo struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec BaseBoardManagementControllerInfoSpec `json:"spec"` // +optional Status OutOfBandInfoStatus `json:"status,omitempty"` }
func (*BaseBoardManagementControllerInfo) DeepCopy ¶
func (in *BaseBoardManagementControllerInfo) DeepCopy() *BaseBoardManagementControllerInfo
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BaseBoardManagementControllerInfo.
func (*BaseBoardManagementControllerInfo) DeepCopyInto ¶
func (in *BaseBoardManagementControllerInfo) DeepCopyInto(out *BaseBoardManagementControllerInfo)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*BaseBoardManagementControllerInfo) DeepCopyObject ¶
func (in *BaseBoardManagementControllerInfo) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type BaseBoardManagementControllerInfoList ¶
type BaseBoardManagementControllerInfoList struct { metav1.TypeMeta `json:",inline"` // Standard list metadata // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata metav1.ListMeta `json:"metadata,omitempty"` Items []BaseBoardManagementControllerInfo `json:"items"` }
func (*BaseBoardManagementControllerInfoList) DeepCopy ¶
func (in *BaseBoardManagementControllerInfoList) DeepCopy() *BaseBoardManagementControllerInfoList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BaseBoardManagementControllerInfoList.
func (*BaseBoardManagementControllerInfoList) DeepCopyInto ¶
func (in *BaseBoardManagementControllerInfoList) DeepCopyInto(out *BaseBoardManagementControllerInfoList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*BaseBoardManagementControllerInfoList) DeepCopyObject ¶
func (in *BaseBoardManagementControllerInfoList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type BaseBoardManagementControllerInfoSpec ¶
type BaseBoardManagementControllerInfoSpec struct { // +optional UUID string `json:"uuid"` // +optional BMCVersion string `json:"bmcVersion,omitempty"` // +optional NIC string `json:"nic,omitempty"` // +optional IP string `json:"ip,omitempty"` // +optional MAC string `json:"mac,omitempty"` // +optional Credentials *BasicAuthCredentials `json:"credentials,omitempty"` // +optional FRUs []FieldReplacableUnit `json:"frus,omitempty"` // +kubebuilder:validation:XPreserveUnknownFields // +kubebuilder:pruning:PreserveUnknownFields // +optional Values types.Values `json:"values,omitempty"` }
func (*BaseBoardManagementControllerInfoSpec) DeepCopy ¶
func (in *BaseBoardManagementControllerInfoSpec) DeepCopy() *BaseBoardManagementControllerInfoSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BaseBoardManagementControllerInfoSpec.
func (*BaseBoardManagementControllerInfoSpec) DeepCopyInto ¶
func (in *BaseBoardManagementControllerInfoSpec) DeepCopyInto(out *BaseBoardManagementControllerInfoSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BasicAuthCredentials ¶
type BasicAuthCredentials struct { // +optional Password string `json:"password,omitempty"` // +optional User string `json:"user,omitempty"` }
func (*BasicAuthCredentials) DeepCopy ¶
func (in *BasicAuthCredentials) DeepCopy() *BasicAuthCredentials
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BasicAuthCredentials.
func (*BasicAuthCredentials) DeepCopyInto ¶
func (in *BasicAuthCredentials) DeepCopyInto(out *BasicAuthCredentials)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CPU ¶
type CPU struct { // +optional CPUInfo string `json:"cpuInfo,omitempty"` // +optional BogoMips int `json:"bogoMips,omitempty"` // +optional MHZ int `json:"mhz,omitempty"` Cores int `json:"cores,omitempty"` }
func (*CPU) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CPU.
func (*CPU) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DHCPLease ¶
type DHCPLease struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec DHCPLeaseSpec `json:"spec"` // +optional Status DHCPLeaseStatus `json:"status,omitempty"` }
func (*DHCPLease) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DHCPLease.
func (*DHCPLease) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DHCPLease) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type DHCPLeaseList ¶
type DHCPLeaseList struct { metav1.TypeMeta `json:",inline"` // Standard list metadata // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata metav1.ListMeta `json:"metadata,omitempty"` Items []DHCPLease `json:"items"` }
func (*DHCPLeaseList) DeepCopy ¶
func (in *DHCPLeaseList) DeepCopy() *DHCPLeaseList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DHCPLeaseList.
func (*DHCPLeaseList) DeepCopyInto ¶
func (in *DHCPLeaseList) DeepCopyInto(out *DHCPLeaseList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DHCPLeaseList) DeepCopyObject ¶
func (in *DHCPLeaseList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type DHCPLeaseSpec ¶
type DHCPLeaseSpec struct { // Machine Name // +optional Hostname string `json:"hostname"` // Assigned IP IP string `json:"ipAddress"` // MAC Address of requesting machine MAC string `json:"macAddress"` // Time until the lease is valid // +optional LeaseTime metav1.Time `json:"leaseTime"` // Time until the lease is valid // +optional ExpireTime metav1.Time `json:"expireTime"` }
func (*DHCPLeaseSpec) DeepCopy ¶
func (in *DHCPLeaseSpec) DeepCopy() *DHCPLeaseSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DHCPLeaseSpec.
func (*DHCPLeaseSpec) DeepCopyInto ¶
func (in *DHCPLeaseSpec) DeepCopyInto(out *DHCPLeaseSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DHCPLeaseStatus ¶
type DHCPLeaseStatus struct { // +optional State string `json:"state"` // +optional Message string `json:"message,omitempty"` }
func (*DHCPLeaseStatus) DeepCopy ¶
func (in *DHCPLeaseStatus) DeepCopy() *DHCPLeaseStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DHCPLeaseStatus.
func (*DHCPLeaseStatus) DeepCopyInto ¶
func (in *DHCPLeaseStatus) DeepCopyInto(out *DHCPLeaseStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Disk ¶
type Disk struct { Id string `json:"id"` Name string `json:"name"` Type string `json:"type"` Size int `json:"size"` }
func (*Disk) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Disk.
func (*Disk) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type FieldReplacableUnit ¶
type FieldReplacableUnit struct { ID string `json:"id"` // +optional Description string `json:"description,omitempty"` // +optional Chassis *FieldReplacableUnitInfo `json:"chassis,omitempty"` // +optional Board *FieldReplacableUnitInfo `json:"board,omitempty"` // +optional Product *FieldReplacableUnitInfo `json:"product,omitempty"` }
func (*FieldReplacableUnit) DeepCopy ¶
func (in *FieldReplacableUnit) DeepCopy() *FieldReplacableUnit
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FieldReplacableUnit.
func (*FieldReplacableUnit) DeepCopyInto ¶
func (in *FieldReplacableUnit) DeepCopyInto(out *FieldReplacableUnit)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type FieldReplacableUnitInfo ¶
type FieldReplacableUnitInfo struct { // +optional Name string `json:"name,omitempty"` // +optional Type string `json:"type,omitempty"` // +optional Serial string `json:"serial,omitempty"` // +optional Manufacturer string `json:"manufacturer,omitempty"` // +optional MfgData string `json:"mfgDate,omitempty"` // +optional PartNumber string `json:"partNumber,omitempty"` // +optional Version string `json:"version,omitempty"` // +optional AssetTag string `json:"assetTag,omitempty"` // +optional Extra []string `json:"extraxtra,omitempty"` // +kubebuilder:validation:XPreserveUnknownFields // +kubebuilder:pruning:PreserveUnknownFields // +optional Values types.Values `json:"values,omitempty"` }
func (*FieldReplacableUnitInfo) DeepCopy ¶
func (in *FieldReplacableUnitInfo) DeepCopy() *FieldReplacableUnitInfo
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FieldReplacableUnitInfo.
func (*FieldReplacableUnitInfo) DeepCopyInto ¶
func (in *FieldReplacableUnitInfo) DeepCopyInto(out *FieldReplacableUnitInfo)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MachineInfo ¶
type MachineInfo struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec MachineInfoSpec `json:"spec"` // +optional Status MachineInfoStatus `json:"status,omitempty"` }
func (*MachineInfo) DeepCopy ¶
func (in *MachineInfo) DeepCopy() *MachineInfo
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineInfo.
func (*MachineInfo) DeepCopyInto ¶
func (in *MachineInfo) DeepCopyInto(out *MachineInfo)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*MachineInfo) DeepCopyObject ¶
func (in *MachineInfo) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type MachineInfoList ¶
type MachineInfoList struct { metav1.TypeMeta `json:",inline"` // Standard list metadata // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata metav1.ListMeta `json:"metadata,omitempty"` Items []MachineInfo `json:"items"` }
func (*MachineInfoList) DeepCopy ¶
func (in *MachineInfoList) DeepCopy() *MachineInfoList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineInfoList.
func (*MachineInfoList) DeepCopyInto ¶
func (in *MachineInfoList) DeepCopyInto(out *MachineInfoList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*MachineInfoList) DeepCopyObject ¶
func (in *MachineInfoList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type MachineInfoSpec ¶
type MachineInfoSpec struct { // UUID of Machine // +optional UUID string `json:"uuid,omitempty"` // Network interfaces // +optional NICs []NIC `json:"nics,omitempty"` // CPU information // +optional CPUs []CPU `json:"cpus,omitempty"` // Memory information // +optional Memory []Memory `json:"memory,omitempty"` // +optional Disks []Disk `json:"disks,omitempty"` // +kubebuilder:validation:XPreserveUnknownFields // +kubebuilder:pruning:PreserveUnknownFields // +optional Values types.Values `json:"values,omitempty"` }
func (*MachineInfoSpec) DeepCopy ¶
func (in *MachineInfoSpec) DeepCopy() *MachineInfoSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineInfoSpec.
func (*MachineInfoSpec) DeepCopyInto ¶
func (in *MachineInfoSpec) DeepCopyInto(out *MachineInfoSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MachineInfoStatus ¶
type MachineInfoStatus struct { // +optional State string `json:"state"` // +optional Message string `json:"message,omitempty"` }
func (*MachineInfoStatus) DeepCopy ¶
func (in *MachineInfoStatus) DeepCopy() *MachineInfoStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineInfoStatus.
func (*MachineInfoStatus) DeepCopyInto ¶
func (in *MachineInfoStatus) DeepCopyInto(out *MachineInfoStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MachineType ¶
type MachineType struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec MachineTypeSpec `json:"spec"` // +optional Status MachineTypeStatus `json:"status,omitempty"` }
func (*MachineType) DeepCopy ¶
func (in *MachineType) DeepCopy() *MachineType
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineType.
func (*MachineType) DeepCopyInto ¶
func (in *MachineType) DeepCopyInto(out *MachineType)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*MachineType) DeepCopyObject ¶
func (in *MachineType) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type MachineTypeList ¶
type MachineTypeList struct { metav1.TypeMeta `json:",inline"` // Standard list metadata // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata metav1.ListMeta `json:"metadata,omitempty"` Items []MachineType `json:"items"` }
func (*MachineTypeList) DeepCopy ¶
func (in *MachineTypeList) DeepCopy() *MachineTypeList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineTypeList.
func (*MachineTypeList) DeepCopyInto ¶
func (in *MachineTypeList) DeepCopyInto(out *MachineTypeList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*MachineTypeList) DeepCopyObject ¶
func (in *MachineTypeList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type MachineTypeSpec ¶
type MachineTypeSpec struct { // Manucaturer of a Machine Manufacturer string `json:"manufacturer"` // Type of a machine Type string `json:"type"` // MAC Prefixes to identify machine type MACPrefixes []string `json:"macPrefixes"` // +kubebuilder:validation:XPreserveUnknownFields // +kubebuilder:pruning:PreserveUnknownFields // +optional Values types.Values `json:"values,omitempty"` }
func (*MachineTypeSpec) DeepCopy ¶
func (in *MachineTypeSpec) DeepCopy() *MachineTypeSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineTypeSpec.
func (*MachineTypeSpec) DeepCopyInto ¶
func (in *MachineTypeSpec) DeepCopyInto(out *MachineTypeSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MachineTypeStatus ¶
type MachineTypeStatus struct { // +optional State string `json:"state"` // +optional Message string `json:"message,omitempty"` }
func (*MachineTypeStatus) DeepCopy ¶
func (in *MachineTypeStatus) DeepCopy() *MachineTypeStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineTypeStatus.
func (*MachineTypeStatus) DeepCopyInto ¶
func (in *MachineTypeStatus) DeepCopyInto(out *MachineTypeStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Memory ¶
type Memory struct { Size int `json:"size"` // +kubebuilder:validation:XPreserveUnknownFields // +kubebuilder:pruning:PreserveUnknownFields // +optional Numa types.Values `json:"numa,omitempty"` }
func (*Memory) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Memory.
func (*Memory) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NIC ¶
type NIC struct { Name string `json:"name"` MAC string `json:"mac"` // +optional Bandwidth int `json:"bandwidth,omitempty"` }
func (*NIC) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NIC.
func (*NIC) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OutOfBandInfoStatus ¶
type OutOfBandInfoStatus struct { // +optional State string `json:"state"` // +optional Message string `json:"message,omitempty"` }
func (*OutOfBandInfoStatus) DeepCopy ¶
func (in *OutOfBandInfoStatus) DeepCopy() *OutOfBandInfoStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OutOfBandInfoStatus.
func (*OutOfBandInfoStatus) DeepCopyInto ¶
func (in *OutOfBandInfoStatus) DeepCopyInto(out *OutOfBandInfoStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.