Documentation ¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the metal v1alpha1 API group +kubebuilder:object:generate=true +groupName=metal.arges.dev
Index ¶
- Variables
- type Asset
- type AssetCondition
- type BMC
- type CPUInformation
- type ConfigPatches
- type Environment
- type EnvironmentList
- type EnvironmentSpec
- type EnvironmentStatus
- type Initrd
- type Kernel
- type Qualifiers
- type Server
- type ServerClass
- type ServerClassList
- type ServerClassSpec
- type ServerClassStatus
- type ServerList
- type ServerSpec
- type ServerStatus
- type SystemInformation
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "metal.arges.dev", Version: "v1alpha1"} // 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 Asset ¶
func (*Asset) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Asset.
func (*Asset) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AssetCondition ¶
type AssetCondition struct { Asset `json:",inline"` Status string `json:"status"` Type string `json:"type"` }
func (*AssetCondition) DeepCopy ¶
func (in *AssetCondition) DeepCopy() *AssetCondition
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AssetCondition.
func (*AssetCondition) DeepCopyInto ¶
func (in *AssetCondition) DeepCopyInto(out *AssetCondition)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BMC ¶
type BMC struct { Endpoint string `json:"endpoint"` User string `json:"user"` Pass string `json:"pass"` }
BMC defines data about how to talk to the node via ipmitool
func (*BMC) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BMC.
func (*BMC) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CPUInformation ¶
type CPUInformation struct { Manufacturer string `json:"manufacturer,omitempty"` Version string `json:"version,omitempty"` }
func (*CPUInformation) DeepCopy ¶
func (in *CPUInformation) DeepCopy() *CPUInformation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CPUInformation.
func (*CPUInformation) DeepCopyInto ¶
func (in *CPUInformation) DeepCopyInto(out *CPUInformation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ConfigPatches ¶
type ConfigPatches struct { Op string `json:"op"` Path string `json:"path"` Value apiextensions.JSON `json:"value,omitempty"` }
func (*ConfigPatches) DeepCopy ¶
func (in *ConfigPatches) DeepCopy() *ConfigPatches
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigPatches.
func (*ConfigPatches) DeepCopyInto ¶
func (in *ConfigPatches) DeepCopyInto(out *ConfigPatches)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Environment ¶
type Environment struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec EnvironmentSpec `json:"spec,omitempty"` Status EnvironmentStatus `json:"status,omitempty"` }
Environment is the Schema for the environments API
func (*Environment) DeepCopy ¶
func (in *Environment) DeepCopy() *Environment
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Environment.
func (*Environment) DeepCopyInto ¶
func (in *Environment) DeepCopyInto(out *Environment)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Environment) DeepCopyObject ¶
func (in *Environment) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type EnvironmentList ¶
type EnvironmentList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Environment `json:"items"` }
EnvironmentList contains a list of Environment
func (*EnvironmentList) DeepCopy ¶
func (in *EnvironmentList) DeepCopy() *EnvironmentList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EnvironmentList.
func (*EnvironmentList) DeepCopyInto ¶
func (in *EnvironmentList) DeepCopyInto(out *EnvironmentList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*EnvironmentList) DeepCopyObject ¶
func (in *EnvironmentList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type EnvironmentSpec ¶
type EnvironmentSpec struct { Kernel Kernel `json:"kernel,omitempty"` Initrd Initrd `json:"initrd,omitempty"` }
EnvironmentSpec defines the desired state of Environment
func (*EnvironmentSpec) DeepCopy ¶
func (in *EnvironmentSpec) DeepCopy() *EnvironmentSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EnvironmentSpec.
func (*EnvironmentSpec) DeepCopyInto ¶
func (in *EnvironmentSpec) DeepCopyInto(out *EnvironmentSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type EnvironmentStatus ¶
type EnvironmentStatus struct {
Conditions []AssetCondition `json:"conditions,omitempty"`
}
EnvironmentStatus defines the observed state of Environment
func (*EnvironmentStatus) DeepCopy ¶
func (in *EnvironmentStatus) DeepCopy() *EnvironmentStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EnvironmentStatus.
func (*EnvironmentStatus) DeepCopyInto ¶
func (in *EnvironmentStatus) DeepCopyInto(out *EnvironmentStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Initrd ¶
type Initrd struct {
Asset `json:",inline"`
}
func (*Initrd) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Initrd.
func (*Initrd) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Kernel ¶
func (*Kernel) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Kernel.
func (*Kernel) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Qualifiers ¶
type Qualifiers struct { CPU []CPUInformation `json:"cpu,omitempty"` SystemInformation []SystemInformation `json:"systemInformation,omitempty"` LabelSelectors []map[string]string `json:"labelSelectors,omitempty"` }
func (*Qualifiers) DeepCopy ¶
func (in *Qualifiers) DeepCopy() *Qualifiers
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Qualifiers.
func (*Qualifiers) DeepCopyInto ¶
func (in *Qualifiers) DeepCopyInto(out *Qualifiers)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Server ¶
type Server struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ServerSpec `json:"spec,omitempty"` Status ServerStatus `json:"status,omitempty"` }
Server is the Schema for the servers API
func (*Server) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Server.
func (*Server) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Server) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ServerClass ¶
type ServerClass struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ServerClassSpec `json:"spec,omitempty"` Status ServerClassStatus `json:"status,omitempty"` }
ServerClass is the Schema for the serverclasses API
func (*ServerClass) DeepCopy ¶
func (in *ServerClass) DeepCopy() *ServerClass
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServerClass.
func (*ServerClass) DeepCopyInto ¶
func (in *ServerClass) DeepCopyInto(out *ServerClass)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ServerClass) DeepCopyObject ¶
func (in *ServerClass) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ServerClassList ¶
type ServerClassList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []ServerClass `json:"items"` }
ServerClassList contains a list of ServerClass
func (*ServerClassList) DeepCopy ¶
func (in *ServerClassList) DeepCopy() *ServerClassList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServerClassList.
func (*ServerClassList) DeepCopyInto ¶
func (in *ServerClassList) DeepCopyInto(out *ServerClassList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ServerClassList) DeepCopyObject ¶
func (in *ServerClassList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ServerClassSpec ¶
type ServerClassSpec struct {
Qualifiers Qualifiers `json:"qualifiers"`
}
ServerClassSpec defines the desired state of ServerClass
func (*ServerClassSpec) DeepCopy ¶
func (in *ServerClassSpec) DeepCopy() *ServerClassSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServerClassSpec.
func (*ServerClassSpec) DeepCopyInto ¶
func (in *ServerClassSpec) DeepCopyInto(out *ServerClassSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ServerClassStatus ¶
type ServerClassStatus struct { ServersAvailable []string `json:"serversAvailable"` ServersInUse []string `json:"serversInUse"` }
ServerClassStatus defines the observed state of ServerClass
func (*ServerClassStatus) DeepCopy ¶
func (in *ServerClassStatus) DeepCopy() *ServerClassStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServerClassStatus.
func (*ServerClassStatus) DeepCopyInto ¶
func (in *ServerClassStatus) DeepCopyInto(out *ServerClassStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ServerList ¶
type ServerList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Server `json:"items"` }
ServerList contains a list of Server
func (*ServerList) DeepCopy ¶
func (in *ServerList) DeepCopy() *ServerList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServerList.
func (*ServerList) DeepCopyInto ¶
func (in *ServerList) DeepCopyInto(out *ServerList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ServerList) DeepCopyObject ¶
func (in *ServerList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ServerSpec ¶
type ServerSpec struct { SystemInformation *SystemInformation `json:"system,omitempty"` CPU *CPUInformation `json:"cpu,omitempty"` BMC *BMC `json:"bmc,omitempty"` ConfigPatches []ConfigPatches `json:"configPatches,omitempty"` }
ServerSpec defines the desired state of Server
func (*ServerSpec) DeepCopy ¶
func (in *ServerSpec) DeepCopy() *ServerSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServerSpec.
func (*ServerSpec) DeepCopyInto ¶
func (in *ServerSpec) DeepCopyInto(out *ServerSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ServerStatus ¶
type ServerStatus struct { Ready bool `json:"ready,omitempty"` InUse bool `json:"inUse,omitempty"` }
ServerStatus defines the observed state of Server
func (*ServerStatus) DeepCopy ¶
func (in *ServerStatus) DeepCopy() *ServerStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServerStatus.
func (*ServerStatus) DeepCopyInto ¶
func (in *ServerStatus) DeepCopyInto(out *ServerStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SystemInformation ¶
type SystemInformation struct { Manufacturer string `json:"manufacturer,omitempty"` ProductName string `json:"productName,omitempty"` Version string `json:"version,omitempty"` SerialNumber string `json:"serialNumber,omitempty"` SKUNumber string `json:"skuNumber,omitempty"` Family string `json:"family,omitempty"` }
func (*SystemInformation) DeepCopy ¶
func (in *SystemInformation) DeepCopy() *SystemInformation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SystemInformation.
func (*SystemInformation) DeepCopyInto ¶
func (in *SystemInformation) DeepCopyInto(out *SystemInformation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.