Documentation ¶
Overview ¶
The following tag tells conversion-gen to generate conversion routines, and it tells conversion-gen the name of the hub version. +k8s:conversion-gen=github.com/NearNodeFlash/lustre-fs-operator/api/v1beta1
Package v1alpha1 contains API Schema definitions for the v1alpha1 API group +kubebuilder:object:generate=true +groupName=lus.cray.hpe.com
Index ¶
- Variables
- func Convert_v1alpha1_LustreFileSystemList_To_v1beta1_LustreFileSystemList(in *LustreFileSystemList, out *v1beta1.LustreFileSystemList, ...) error
- func Convert_v1alpha1_LustreFileSystemNamespaceAccessStatus_To_v1beta1_LustreFileSystemNamespaceAccessStatus(in *LustreFileSystemNamespaceAccessStatus, ...) error
- func Convert_v1alpha1_LustreFileSystemNamespaceSpec_To_v1beta1_LustreFileSystemNamespaceSpec(in *LustreFileSystemNamespaceSpec, out *v1beta1.LustreFileSystemNamespaceSpec, ...) error
- func Convert_v1alpha1_LustreFileSystemNamespaceStatus_To_v1beta1_LustreFileSystemNamespaceStatus(in *LustreFileSystemNamespaceStatus, ...) error
- func Convert_v1alpha1_LustreFileSystemSpec_To_v1beta1_LustreFileSystemSpec(in *LustreFileSystemSpec, out *v1beta1.LustreFileSystemSpec, ...) error
- func Convert_v1alpha1_LustreFileSystemStatus_To_v1beta1_LustreFileSystemStatus(in *LustreFileSystemStatus, out *v1beta1.LustreFileSystemStatus, ...) error
- func Convert_v1alpha1_LustreFileSystem_To_v1beta1_LustreFileSystem(in *LustreFileSystem, out *v1beta1.LustreFileSystem, s conversion.Scope) error
- func Convert_v1beta1_LustreFileSystemList_To_v1alpha1_LustreFileSystemList(in *v1beta1.LustreFileSystemList, out *LustreFileSystemList, ...) error
- func Convert_v1beta1_LustreFileSystemNamespaceAccessStatus_To_v1alpha1_LustreFileSystemNamespaceAccessStatus(in *v1beta1.LustreFileSystemNamespaceAccessStatus, ...) error
- func Convert_v1beta1_LustreFileSystemNamespaceSpec_To_v1alpha1_LustreFileSystemNamespaceSpec(in *v1beta1.LustreFileSystemNamespaceSpec, out *LustreFileSystemNamespaceSpec, ...) error
- func Convert_v1beta1_LustreFileSystemNamespaceStatus_To_v1alpha1_LustreFileSystemNamespaceStatus(in *v1beta1.LustreFileSystemNamespaceStatus, ...) error
- func Convert_v1beta1_LustreFileSystemSpec_To_v1alpha1_LustreFileSystemSpec(in *v1beta1.LustreFileSystemSpec, out *LustreFileSystemSpec, ...) error
- func Convert_v1beta1_LustreFileSystemStatus_To_v1alpha1_LustreFileSystemStatus(in *v1beta1.LustreFileSystemStatus, out *LustreFileSystemStatus, ...) error
- func Convert_v1beta1_LustreFileSystem_To_v1alpha1_LustreFileSystem(in *v1beta1.LustreFileSystem, out *LustreFileSystem, s conversion.Scope) error
- func RegisterConversions(s *runtime.Scheme) error
- type LustreFileSystem
- func (dst *LustreFileSystem) ConvertFrom(srcRaw conversion.Hub) error
- func (src *LustreFileSystem) ConvertTo(dstRaw conversion.Hub) error
- func (in *LustreFileSystem) DeepCopy() *LustreFileSystem
- func (in *LustreFileSystem) DeepCopyInto(out *LustreFileSystem)
- func (in *LustreFileSystem) DeepCopyObject() runtime.Object
- func (fs *LustreFileSystem) GetStatus() updater.Status[*LustreFileSystemStatus]
- func (fs *LustreFileSystem) PersistentVolumeClaimName(namespace string, mode corev1.PersistentVolumeAccessMode) string
- func (fs *LustreFileSystem) PersistentVolumeName(namespace string, mode corev1.PersistentVolumeAccessMode) string
- type LustreFileSystemList
- func (dst *LustreFileSystemList) ConvertFrom(srcRaw conversion.Hub) error
- func (src *LustreFileSystemList) ConvertTo(dstRaw conversion.Hub) error
- func (in *LustreFileSystemList) DeepCopy() *LustreFileSystemList
- func (in *LustreFileSystemList) DeepCopyInto(out *LustreFileSystemList)
- func (in *LustreFileSystemList) DeepCopyObject() runtime.Object
- func (list *LustreFileSystemList) GetObjectList() []client.Object
- type LustreFileSystemNamespaceAccessStatus
- type LustreFileSystemNamespaceSpec
- type LustreFileSystemNamespaceStatus
- type LustreFileSystemSpec
- type LustreFileSystemStatus
- type NamespaceAccessState
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "lus.cray.hpe.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 ¶
func Convert_v1alpha1_LustreFileSystemList_To_v1beta1_LustreFileSystemList ¶ added in v0.0.3
func Convert_v1alpha1_LustreFileSystemList_To_v1beta1_LustreFileSystemList(in *LustreFileSystemList, out *v1beta1.LustreFileSystemList, s conversion.Scope) error
Convert_v1alpha1_LustreFileSystemList_To_v1beta1_LustreFileSystemList is an autogenerated conversion function.
func Convert_v1alpha1_LustreFileSystemNamespaceAccessStatus_To_v1beta1_LustreFileSystemNamespaceAccessStatus ¶ added in v0.0.3
func Convert_v1alpha1_LustreFileSystemNamespaceAccessStatus_To_v1beta1_LustreFileSystemNamespaceAccessStatus(in *LustreFileSystemNamespaceAccessStatus, out *v1beta1.LustreFileSystemNamespaceAccessStatus, s conversion.Scope) error
Convert_v1alpha1_LustreFileSystemNamespaceAccessStatus_To_v1beta1_LustreFileSystemNamespaceAccessStatus is an autogenerated conversion function.
func Convert_v1alpha1_LustreFileSystemNamespaceSpec_To_v1beta1_LustreFileSystemNamespaceSpec ¶ added in v0.0.3
func Convert_v1alpha1_LustreFileSystemNamespaceSpec_To_v1beta1_LustreFileSystemNamespaceSpec(in *LustreFileSystemNamespaceSpec, out *v1beta1.LustreFileSystemNamespaceSpec, s conversion.Scope) error
Convert_v1alpha1_LustreFileSystemNamespaceSpec_To_v1beta1_LustreFileSystemNamespaceSpec is an autogenerated conversion function.
func Convert_v1alpha1_LustreFileSystemNamespaceStatus_To_v1beta1_LustreFileSystemNamespaceStatus ¶ added in v0.0.3
func Convert_v1alpha1_LustreFileSystemNamespaceStatus_To_v1beta1_LustreFileSystemNamespaceStatus(in *LustreFileSystemNamespaceStatus, out *v1beta1.LustreFileSystemNamespaceStatus, s conversion.Scope) error
Convert_v1alpha1_LustreFileSystemNamespaceStatus_To_v1beta1_LustreFileSystemNamespaceStatus is an autogenerated conversion function.
func Convert_v1alpha1_LustreFileSystemSpec_To_v1beta1_LustreFileSystemSpec ¶ added in v0.0.3
func Convert_v1alpha1_LustreFileSystemSpec_To_v1beta1_LustreFileSystemSpec(in *LustreFileSystemSpec, out *v1beta1.LustreFileSystemSpec, s conversion.Scope) error
Convert_v1alpha1_LustreFileSystemSpec_To_v1beta1_LustreFileSystemSpec is an autogenerated conversion function.
func Convert_v1alpha1_LustreFileSystemStatus_To_v1beta1_LustreFileSystemStatus ¶ added in v0.0.3
func Convert_v1alpha1_LustreFileSystemStatus_To_v1beta1_LustreFileSystemStatus(in *LustreFileSystemStatus, out *v1beta1.LustreFileSystemStatus, s conversion.Scope) error
Convert_v1alpha1_LustreFileSystemStatus_To_v1beta1_LustreFileSystemStatus is an autogenerated conversion function.
func Convert_v1alpha1_LustreFileSystem_To_v1beta1_LustreFileSystem ¶ added in v0.0.3
func Convert_v1alpha1_LustreFileSystem_To_v1beta1_LustreFileSystem(in *LustreFileSystem, out *v1beta1.LustreFileSystem, s conversion.Scope) error
Convert_v1alpha1_LustreFileSystem_To_v1beta1_LustreFileSystem is an autogenerated conversion function.
func Convert_v1beta1_LustreFileSystemList_To_v1alpha1_LustreFileSystemList ¶ added in v0.0.3
func Convert_v1beta1_LustreFileSystemList_To_v1alpha1_LustreFileSystemList(in *v1beta1.LustreFileSystemList, out *LustreFileSystemList, s conversion.Scope) error
Convert_v1beta1_LustreFileSystemList_To_v1alpha1_LustreFileSystemList is an autogenerated conversion function.
func Convert_v1beta1_LustreFileSystemNamespaceAccessStatus_To_v1alpha1_LustreFileSystemNamespaceAccessStatus ¶ added in v0.0.3
func Convert_v1beta1_LustreFileSystemNamespaceAccessStatus_To_v1alpha1_LustreFileSystemNamespaceAccessStatus(in *v1beta1.LustreFileSystemNamespaceAccessStatus, out *LustreFileSystemNamespaceAccessStatus, s conversion.Scope) error
Convert_v1beta1_LustreFileSystemNamespaceAccessStatus_To_v1alpha1_LustreFileSystemNamespaceAccessStatus is an autogenerated conversion function.
func Convert_v1beta1_LustreFileSystemNamespaceSpec_To_v1alpha1_LustreFileSystemNamespaceSpec ¶ added in v0.0.3
func Convert_v1beta1_LustreFileSystemNamespaceSpec_To_v1alpha1_LustreFileSystemNamespaceSpec(in *v1beta1.LustreFileSystemNamespaceSpec, out *LustreFileSystemNamespaceSpec, s conversion.Scope) error
Convert_v1beta1_LustreFileSystemNamespaceSpec_To_v1alpha1_LustreFileSystemNamespaceSpec is an autogenerated conversion function.
func Convert_v1beta1_LustreFileSystemNamespaceStatus_To_v1alpha1_LustreFileSystemNamespaceStatus ¶ added in v0.0.3
func Convert_v1beta1_LustreFileSystemNamespaceStatus_To_v1alpha1_LustreFileSystemNamespaceStatus(in *v1beta1.LustreFileSystemNamespaceStatus, out *LustreFileSystemNamespaceStatus, s conversion.Scope) error
Convert_v1beta1_LustreFileSystemNamespaceStatus_To_v1alpha1_LustreFileSystemNamespaceStatus is an autogenerated conversion function.
func Convert_v1beta1_LustreFileSystemSpec_To_v1alpha1_LustreFileSystemSpec ¶ added in v0.0.3
func Convert_v1beta1_LustreFileSystemSpec_To_v1alpha1_LustreFileSystemSpec(in *v1beta1.LustreFileSystemSpec, out *LustreFileSystemSpec, s conversion.Scope) error
Convert_v1beta1_LustreFileSystemSpec_To_v1alpha1_LustreFileSystemSpec is an autogenerated conversion function.
func Convert_v1beta1_LustreFileSystemStatus_To_v1alpha1_LustreFileSystemStatus ¶ added in v0.0.3
func Convert_v1beta1_LustreFileSystemStatus_To_v1alpha1_LustreFileSystemStatus(in *v1beta1.LustreFileSystemStatus, out *LustreFileSystemStatus, s conversion.Scope) error
Convert_v1beta1_LustreFileSystemStatus_To_v1alpha1_LustreFileSystemStatus is an autogenerated conversion function.
func Convert_v1beta1_LustreFileSystem_To_v1alpha1_LustreFileSystem ¶ added in v0.0.3
func Convert_v1beta1_LustreFileSystem_To_v1alpha1_LustreFileSystem(in *v1beta1.LustreFileSystem, out *LustreFileSystem, s conversion.Scope) error
Convert_v1beta1_LustreFileSystem_To_v1alpha1_LustreFileSystem is an autogenerated conversion function.
func RegisterConversions ¶ added in v0.0.3
RegisterConversions adds conversion functions to the given scheme. Public to allow building arbitrary schemes.
Types ¶
type LustreFileSystem ¶
type LustreFileSystem struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec LustreFileSystemSpec `json:"spec,omitempty"` Status LustreFileSystemStatus `json:"status,omitempty"` }
LustreFileSystem is the Schema for the lustrefilesystems API
func (*LustreFileSystem) ConvertFrom ¶ added in v0.0.3
func (dst *LustreFileSystem) ConvertFrom(srcRaw conversion.Hub) error
func (*LustreFileSystem) ConvertTo ¶ added in v0.0.3
func (src *LustreFileSystem) ConvertTo(dstRaw conversion.Hub) error
func (*LustreFileSystem) DeepCopy ¶
func (in *LustreFileSystem) DeepCopy() *LustreFileSystem
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LustreFileSystem.
func (*LustreFileSystem) DeepCopyInto ¶
func (in *LustreFileSystem) DeepCopyInto(out *LustreFileSystem)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*LustreFileSystem) DeepCopyObject ¶
func (in *LustreFileSystem) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*LustreFileSystem) GetStatus ¶
func (fs *LustreFileSystem) GetStatus() updater.Status[*LustreFileSystemStatus]
func (*LustreFileSystem) PersistentVolumeClaimName ¶
func (fs *LustreFileSystem) PersistentVolumeClaimName(namespace string, mode corev1.PersistentVolumeAccessMode) string
func (*LustreFileSystem) PersistentVolumeName ¶
func (fs *LustreFileSystem) PersistentVolumeName(namespace string, mode corev1.PersistentVolumeAccessMode) string
type LustreFileSystemList ¶
type LustreFileSystemList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []LustreFileSystem `json:"items"` }
LustreFileSystemList contains a list of LustreFileSystem
func (*LustreFileSystemList) ConvertFrom ¶ added in v0.0.3
func (dst *LustreFileSystemList) ConvertFrom(srcRaw conversion.Hub) error
func (*LustreFileSystemList) ConvertTo ¶ added in v0.0.3
func (src *LustreFileSystemList) ConvertTo(dstRaw conversion.Hub) error
func (*LustreFileSystemList) DeepCopy ¶
func (in *LustreFileSystemList) DeepCopy() *LustreFileSystemList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LustreFileSystemList.
func (*LustreFileSystemList) DeepCopyInto ¶
func (in *LustreFileSystemList) DeepCopyInto(out *LustreFileSystemList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*LustreFileSystemList) DeepCopyObject ¶
func (in *LustreFileSystemList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*LustreFileSystemList) GetObjectList ¶
func (list *LustreFileSystemList) GetObjectList() []client.Object
type LustreFileSystemNamespaceAccessStatus ¶
type LustreFileSystemNamespaceAccessStatus struct { // State represents the current state of the namespace access State NamespaceAccessState `json:"state"` // PersistentVolumeRef holds a reference to the persistent volume, if present PersistentVolumeRef *corev1.LocalObjectReference `json:"persistentVolumeRef,omitempty"` // PersistentVolumeClaimRef holds a reference to the persistent volume claim, if present PersistentVolumeClaimRef *corev1.LocalObjectReference `json:"persistentVolumeClaimRef,omitempty"` }
LustreFileSystemNamespaceAccessStatus defines the observe status of namespace access to the LustreFileSystem
func (*LustreFileSystemNamespaceAccessStatus) DeepCopy ¶
func (in *LustreFileSystemNamespaceAccessStatus) DeepCopy() *LustreFileSystemNamespaceAccessStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LustreFileSystemNamespaceAccessStatus.
func (*LustreFileSystemNamespaceAccessStatus) DeepCopyInto ¶
func (in *LustreFileSystemNamespaceAccessStatus) DeepCopyInto(out *LustreFileSystemNamespaceAccessStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type LustreFileSystemNamespaceSpec ¶
type LustreFileSystemNamespaceSpec struct { // Modes list the persistent volume access modes for accessing the Lustre file system. Modes []corev1.PersistentVolumeAccessMode `json:"modes,omitempty"` }
LustreFileSystemAccessSpec defines the desired state of Lustre File System Accesses
func (*LustreFileSystemNamespaceSpec) DeepCopy ¶
func (in *LustreFileSystemNamespaceSpec) DeepCopy() *LustreFileSystemNamespaceSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LustreFileSystemNamespaceSpec.
func (*LustreFileSystemNamespaceSpec) DeepCopyInto ¶
func (in *LustreFileSystemNamespaceSpec) DeepCopyInto(out *LustreFileSystemNamespaceSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type LustreFileSystemNamespaceStatus ¶
type LustreFileSystemNamespaceStatus struct { // Modes contains the modes supported for this namespace and their corresponding access sttatus. Modes map[corev1.PersistentVolumeAccessMode]LustreFileSystemNamespaceAccessStatus `json:"modes,omitempty"` }
LustreFileSystemAccessStatus defines the observe status of access to the LustreFileSystem
func (*LustreFileSystemNamespaceStatus) DeepCopy ¶
func (in *LustreFileSystemNamespaceStatus) DeepCopy() *LustreFileSystemNamespaceStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LustreFileSystemNamespaceStatus.
func (*LustreFileSystemNamespaceStatus) DeepCopyInto ¶
func (in *LustreFileSystemNamespaceStatus) DeepCopyInto(out *LustreFileSystemNamespaceStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type LustreFileSystemSpec ¶
type LustreFileSystemSpec struct { // Name is the name of the Lustre file system. // +kubebuilder:validation:MaxLength:=8 // +kubebuilder:validation:MinLength:=1 Name string `json:"name"` // MgsNids is the list of comma- and colon- separated NIDs of the MGS // nodes to use for accessing the Lustre file system. MgsNids string `json:"mgsNids"` // MountRoot is the mount path used to access the Lustre file system from a host. Data Movement // directives and Container Profiles can reference this field. MountRoot string `json:"mountRoot"` // StorageClassName refers to the StorageClass to use for this file system. // +kubebuilder:default:="nnf-lustre-fs" StorageClassName string `json:"storageClassName,omitempty"` // Namespaces defines a map of namespaces with access to the Lustre file systems Namespaces map[string]LustreFileSystemNamespaceSpec `json:"namespaces,omitempty"` }
LustreFileSystemSpec defines the desired state of LustreFileSystem
func (*LustreFileSystemSpec) DeepCopy ¶
func (in *LustreFileSystemSpec) DeepCopy() *LustreFileSystemSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LustreFileSystemSpec.
func (*LustreFileSystemSpec) DeepCopyInto ¶
func (in *LustreFileSystemSpec) DeepCopyInto(out *LustreFileSystemSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type LustreFileSystemStatus ¶
type LustreFileSystemStatus struct { // Namespaces contains the namespaces supported for this Lustre file system and their corresponding status. Namespaces map[string]LustreFileSystemNamespaceStatus `json:"namespaces,omitempty"` }
LustreFileSystemStatus defines the observed status of LustreFileSystem
func (*LustreFileSystemStatus) DeepCopy ¶
func (in *LustreFileSystemStatus) DeepCopy() *LustreFileSystemStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LustreFileSystemStatus.
func (*LustreFileSystemStatus) DeepCopyInto ¶
func (in *LustreFileSystemStatus) DeepCopyInto(out *LustreFileSystemStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NamespaceAccessState ¶
type NamespaceAccessState string
const ( // NamespaceAccessPending - used to indicate the namespace access not yet ready NamespaceAccessPending NamespaceAccessState = "Pending" // NamespaceAccessReady - used to indicate the namespace access is ready NamespaceAccessReady NamespaceAccessState = "Ready" )