v1alpha1

package
v0.0.0-...-4ed71e6 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package v1alpha1 contains API Schema definitions for the efa v1alpha1 API group +kubebuilder:object:generate=true +groupName=efa.fms.io

Index

Constants

This section is empty.

Variables

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

type EfaDriver struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   EfaDriverSpec   `json:"spec,omitempty"`
	Status EfaDriverStatus `json:"status,omitempty"`
}

EfaDriver is the Schema for the efadrivers API

func (*EfaDriver) DeepCopy

func (in *EfaDriver) DeepCopy() *EfaDriver

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

func (*EfaDriver) DeepCopyInto

func (in *EfaDriver) DeepCopyInto(out *EfaDriver)

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

func (*EfaDriver) DeepCopyObject

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

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type EfaDriverList

type EfaDriverList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []EfaDriver `json:"items"`
}

EfaDriverList contains a list of EfaDriver

func (*EfaDriverList) DeepCopy

func (in *EfaDriverList) DeepCopy() *EfaDriverList

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

func (*EfaDriverList) DeepCopyInto

func (in *EfaDriverList) DeepCopyInto(out *EfaDriverList)

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

func (*EfaDriverList) DeepCopyObject

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

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type EfaDriverSpec

type EfaDriverSpec struct {
	//+kubebuilder:default="openshift-kmm"
	KmmNamespace string `json:"kmmNamespace,omitempty"`

	//+kubebuilder:default="1.26.1"
	AwsEfaInstallerVer string `json:"awsEfaInstallerVer,omitempty"`

	//+kubebuilder:default="ocp-efa-operator-efa-device-plugin-sa"
	DevicePluginServiceAccount string `json:"devicePluginServiceAccount,omitempty"`

	//+kubebuilder:default=true
	OpenShift *bool `json:"openShift,omitempty"`

	//+kubebuilder:default={}
	NodeSelector map[string]string `json:"nodeSelector,omitempty"`

	//+kubebuilder:default="ghcr.io/foundation-model-stack/ocp-efa-device-plugin:v0.0.1"
	EfaDevicePluginImage string `json:"efaDevicePluginImage,omitempty"`
	//+kubebuilder:default={}
	ImagePullSecrets []string `json:"imagePullSecrets,omitempty"`
}

EfaDriverSpec defines the desired state of EfaDriver

func (*EfaDriverSpec) DeepCopy

func (in *EfaDriverSpec) DeepCopy() *EfaDriverSpec

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

func (*EfaDriverSpec) DeepCopyInto

func (in *EfaDriverSpec) DeepCopyInto(out *EfaDriverSpec)

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

type EfaDriverStatus

type EfaDriverStatus struct {
	Condition string `json:"condition,omitempty"`

	Description string `json:"description,omitempty"`
}

EfaDriverStatus defines the observed state of EfaDriver

func (*EfaDriverStatus) DeepCopy

func (in *EfaDriverStatus) DeepCopy() *EfaDriverStatus

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

func (*EfaDriverStatus) DeepCopyInto

func (in *EfaDriverStatus) DeepCopyInto(out *EfaDriverStatus)

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

type GdrdrvDriver

type GdrdrvDriver struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   GdrdrvDriverSpec   `json:"spec,omitempty"`
	Status GdrdrvDriverStatus `json:"status,omitempty"`
}

Gdrdrv is the Schema for the gdrdrvs API

func (*GdrdrvDriver) DeepCopy

func (in *GdrdrvDriver) DeepCopy() *GdrdrvDriver

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

func (*GdrdrvDriver) DeepCopyInto

func (in *GdrdrvDriver) DeepCopyInto(out *GdrdrvDriver)

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

func (*GdrdrvDriver) DeepCopyObject

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

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type GdrdrvDriverList

type GdrdrvDriverList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []GdrdrvDriver `json:"items"`
}

GdrdrvDriverList contains a list of Gdrdrv

func (*GdrdrvDriverList) DeepCopy

func (in *GdrdrvDriverList) DeepCopy() *GdrdrvDriverList

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

func (*GdrdrvDriverList) DeepCopyInto

func (in *GdrdrvDriverList) DeepCopyInto(out *GdrdrvDriverList)

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

func (*GdrdrvDriverList) DeepCopyObject

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

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type GdrdrvDriverSpec

type GdrdrvDriverSpec struct {
	//+kubebuilder:default="openshift-kmm"
	KmmNamespace string `json:"kmmNamespace,omitempty"`

	//+kubebuilder:default="2.4"
	GdrdrvVer string `json:"gdrdrvVer,omitempty"`

	//+kubebuilder:default="ocp-efa-operator-gdrdrv-device-plugin-sa"
	DevicePluginServiceAccount string `json:"devicePluginServiceAccount,omitempty"`

	//+kubebuilder:default=true
	OpenShift *bool `json:"openShift,omitempty"`

	//+kubebuilder:default={}
	NodeSelector map[string]string `json:"nodeSelector,omitempty"`

	//+kubebuilder:default="ghcr.io/foundation-model-stack/ocp-gdrdrv-device-plugin:v0.0.1"
	GdrdrvDevicePluginImage string `json:"gdrdrvDevicePluginImage,omitempty"`

	//+kubebuilder:default={}
	ImagePullSecrets []string `json:"imagePullSecrets,omitempty"`
}

GdrdrvSpec defines the desired state of Gdrdrv

func (*GdrdrvDriverSpec) DeepCopy

func (in *GdrdrvDriverSpec) DeepCopy() *GdrdrvDriverSpec

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

func (*GdrdrvDriverSpec) DeepCopyInto

func (in *GdrdrvDriverSpec) DeepCopyInto(out *GdrdrvDriverSpec)

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

type GdrdrvDriverStatus

type GdrdrvDriverStatus struct {
	Condition string `json:"condition,omitempty"`

	Description string `json:"description,omitempty"`
}

GdrdrvStatus defines the observed state of Gdrdrv

func (*GdrdrvDriverStatus) DeepCopy

func (in *GdrdrvDriverStatus) DeepCopy() *GdrdrvDriverStatus

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

func (*GdrdrvDriverStatus) DeepCopyInto

func (in *GdrdrvDriverStatus) DeepCopyInto(out *GdrdrvDriverStatus)

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

Jump to

Keyboard shortcuts

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