Help us shape the future of Go! Take the 2026 Go Developer Survey

v1

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2026 License: BSD-3-Clause-Clear Imports: 5 Imported by: 0

Documentation

Overview

Package v1 contains API Schema definitions for the aic v1 API group +kubebuilder:object:generate=true +groupName=aic.qualcomm.com

Index

Constants

View Source
const (
	QTIPCIVendorID = "17cb"
)

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "aic.qualcomm.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

func (in *AIC) DeepCopy() *AIC

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

func (*AIC) DeepCopyInto

func (in *AIC) DeepCopyInto(out *AIC)

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

func (*AIC) DeepCopyObject

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

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

func (in *AICList) DeepCopy() *AICList

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

func (*AICList) DeepCopyInto

func (in *AICList) DeepCopyInto(out *AICList)

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

func (*AICList) DeepCopyObject

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

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
	SourceImage string `json:"sourceImage"`

	// defines image that includes drivers and firmware blobs
	DriversImage string `json:"driversImage"`

	// version of the drivers source code, can be used as part of image of dockerfile source image
	DriversVersion string `json:"driversVersion"`

	// device plugin image
	DevicePluginImage string `json:"devicePluginImage"`

	// version of the device plugin image
	DevPluginVersion string `json:"devPluginVersion"`

	// QAIC Device Agent image
	DeviceAgentImage string `json:"deviceAgentImage"`

	// version of the Device Agent image
	DeviceAgentVersion string `json:"deviceAgentVersion"`

	// 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

func (in *AICSpec) DeepCopy() *AICSpec

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

func (*AICSpec) DeepCopyInto

func (in *AICSpec) DeepCopyInto(out *AICSpec)

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

type AICStatus

type AICStatus struct {
	// INSERT ADDITIONAL STATUS FIELD - define observed state of cluster
	// Important: Run "make" to regenerate code after modifying this file
	// +kubebuilder:validation:Enum=Ignored;Ready;NotReady
	State State `json:"state"`
}

AICStatus defines the observed state of AIC

func (*AICStatus) DeepCopy

func (in *AICStatus) DeepCopy() *AICStatus

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

func (*AICStatus) DeepCopyInto

func (in *AICStatus) DeepCopyInto(out *AICStatus)

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
)

type State

type State string
const (
	Ignored        State = "Ignored"
	Operational    State = "Ready"
	NotOperational State = "NotReady"
)

Jump to

Keyboard shortcuts

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