v1

package
v0.0.0-...-6608881 Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2024 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.quicinc.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.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

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

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 {
}

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
)

Jump to

Keyboard shortcuts

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