Documentation ¶
Overview ¶
Package v1 contains API Schema definitions for the aic v1 API group +kubebuilder:object:generate=true +groupName=aic.quicinc.com
Index ¶
Constants ¶
const (
QTIPCIVendorID = "17cb"
)
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "aic.quicinc.com", Version: "v1"} // 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 AIC ¶
type AIC struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec AICSpec `json:"spec,omitempty"` Status AICStatus `json:"status,omitempty"` }
AIC is the Schema for the aics API
func (*AIC) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AIC.
func (*AIC) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*AIC) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type AICList ¶
type AICList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []AIC `json:"items"` }
AICList contains a list of AIC
func (*AICList) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AICList.
func (*AICList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*AICList) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type AICSpec ¶
type AICSpec struct { // defines image that includes driver source and firmware // +optional SourceImage string `json:"sourceImage,omitempty"` // defines image that includes drivers and firmware blobs // +optional DriversImage string `json:"driversImage,omitempty"` // version of the drivers source code, can be used as part of image of dockerfile source image // +optional DriversVersion string `json:"driversVersion,omitempty"` // device plugin image // +optional DevicePluginImage string `json:"devicePluginImage,omitempty"` // version of the device plugin image // +optional DevPluginVersion string `json:"devPluginVersion,omitempty"` // pull secrets used for pull/setting images used by operator // +optional ImageRepoSecret *v1.LocalObjectReference `json:"imageRepoSecret,omitempty"` // Selector describes on which nodes the AIC Operator should enable the AIC device. // +optional Selector map[string]string `json:"selector,omitempty"` // UseInTreeModules used to prefer in-tree modules, if not available still tries to build // +optional UseInTreeModules bool `json:"useInTreeModules,omitempty"` }
AICSpec defines the desired state of AIC
func (*AICSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AICSpec.
func (*AICSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AICStatus ¶
type AICStatus struct { }
AICStatus defines the observed state of AIC
func (*AICStatus) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AICStatus.
func (*AICStatus) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type LoadedModules ¶
type LoadedModules int
const ( Qaic_loaded LoadedModules = iota Mhi_loaded LoadedModules = iota None_loaded LoadedModules = iota )