v1alpha1

package
v0.0.0-...-cfc0f1e Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2021 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

Package v1alpha1 is the v1alpha1 version of the API. +groupName=machines.onmetal.de

Index

Constants

View Source
const (
	Version   = "v1alpha1"
	GroupName = machines.GroupName
)
View Source
const STATE_INVALID = "Invalid"
View Source
const STATE_OK = "Ok"

Variables

View Source
var (
	SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes)
	AddToScheme   = SchemeBuilder.AddToScheme
)
View Source
var BASEBOARDMANAGEMENTCONTROLLERINFO = resources.NewGroupKind(GroupName, reflect.TypeOf(BaseBoardManagementControllerInfo{}).Name())
View Source
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: Version}

SchemeGroupVersion is group version used to register these objects

Functions

func Kind

func Kind(kind string) schema.GroupKind

Kind takes an unqualified kind and returns back a Group qualified GroupKind

func RegisterDefaults

func RegisterDefaults(scheme *runtime.Scheme) error

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

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

func (*BaseBoardManagementControllerInfo) DeepCopyInto

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

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

func (*BaseBoardManagementControllerInfoList) DeepCopyInto

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

func (*BaseBoardManagementControllerInfoList) DeepCopyObject

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

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

func (*BaseBoardManagementControllerInfoSpec) DeepCopyInto

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

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

func (in *CPU) DeepCopy() *CPU

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

func (*CPU) DeepCopyInto

func (in *CPU) DeepCopyInto(out *CPU)

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

func (in *DHCPLease) DeepCopy() *DHCPLease

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

func (*DHCPLease) DeepCopyInto

func (in *DHCPLease) DeepCopyInto(out *DHCPLease)

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

func (*DHCPLease) DeepCopyObject

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

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

func (in *Disk) DeepCopy() *Disk

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

func (*Disk) DeepCopyInto

func (in *Disk) DeepCopyInto(out *Disk)

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

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

func (in *Memory) DeepCopy() *Memory

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

func (*Memory) DeepCopyInto

func (in *Memory) DeepCopyInto(out *Memory)

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

func (in *NIC) DeepCopy() *NIC

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

func (*NIC) DeepCopyInto

func (in *NIC) DeepCopyInto(out *NIC)

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.

Jump to

Keyboard shortcuts

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