Documentation ¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the v1alpha1 API group +kubebuilder:object:generate=true +groupName=example.com
Index ¶
Constants ¶
const ( DeviceConfigDeletionFinalizer = "device-config-deletion-finalizer" ExamplePCIVendorID = "1da3" )
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "example.com", 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 DeviceConfig ¶
type DeviceConfig struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec DeviceConfigSpec `json:"spec,omitempty"` Status DeviceConfigStatus `json:"status,omitempty"` }
DeviceConfig is the Schema for the deviceconfigs API
func (*DeviceConfig) DeepCopy ¶
func (in *DeviceConfig) DeepCopy() *DeviceConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeviceConfig.
func (*DeviceConfig) DeepCopyInto ¶
func (in *DeviceConfig) DeepCopyInto(out *DeviceConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DeviceConfig) DeepCopyObject ¶
func (in *DeviceConfig) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*DeviceConfig) GetNodeSelector ¶
func (dc *DeviceConfig) GetNodeSelector() map[string]string
type DeviceConfigList ¶
type DeviceConfigList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []DeviceConfig `json:"items"` }
DeviceConfigList contains a list of DeviceConfig
func (*DeviceConfigList) DeepCopy ¶
func (in *DeviceConfigList) DeepCopy() *DeviceConfigList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeviceConfigList.
func (*DeviceConfigList) DeepCopyInto ¶
func (in *DeviceConfigList) DeepCopyInto(out *DeviceConfigList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DeviceConfigList) DeepCopyObject ¶
func (in *DeviceConfigList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type DeviceConfigSpec ¶
type DeviceConfigSpec struct { //+kubebuilder:validation:Required // DriverImage is the driver image to use DriverImage string `json:"driverImage"` //+kubebuilder:validation:Required // DriverVersion is the driver version to be deployed DriverVersion string `json:"driverVersion"` //+kubebuilder:validation:Optional // NodeSelector specifies a selector for the DeviceConfig NodeSelector map[string]string `json:"nodeSelector,omitempty"` }
DeviceConfigSpec defines the desired state of DeviceConfig
func (*DeviceConfigSpec) DeepCopy ¶
func (in *DeviceConfigSpec) DeepCopy() *DeviceConfigSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeviceConfigSpec.
func (*DeviceConfigSpec) DeepCopyInto ¶
func (in *DeviceConfigSpec) DeepCopyInto(out *DeviceConfigSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DeviceConfigStatus ¶
type DeviceConfigStatus struct { // Conditions is a list of conditions representing the DeviceConfig's current state. Conditions []metav1.Condition `json:"conditions"` }
DeviceConfigStatus defines the observed state of DeviceConfig
func (*DeviceConfigStatus) DeepCopy ¶
func (in *DeviceConfigStatus) DeepCopy() *DeviceConfigStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeviceConfigStatus.
func (*DeviceConfigStatus) DeepCopyInto ¶
func (in *DeviceConfigStatus) DeepCopyInto(out *DeviceConfigStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.