v1alpha1

package
v0.0.20 Latest Latest
Warning

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

Go to latest
Published: Aug 3, 2025 License: MIT Imports: 4 Imported by: 1

Documentation

Overview

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

Index

Constants

This section is empty.

Variables

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

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

	Spec   NfsServerSpec   `json:"spec,omitempty"`
	Status NfsServerStatus `json:"status,omitempty"`
}

NfsServer is the Schema for the nfsservers API.

func (*NfsServer) DeepCopy

func (in *NfsServer) DeepCopy() *NfsServer

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

func (*NfsServer) DeepCopyInto

func (in *NfsServer) DeepCopyInto(out *NfsServer)

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

func (*NfsServer) DeepCopyObject

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

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

type NfsServerList

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

NfsServerList contains a list of NfsServer.

func (*NfsServerList) DeepCopy

func (in *NfsServerList) DeepCopy() *NfsServerList

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

func (*NfsServerList) DeepCopyInto

func (in *NfsServerList) DeepCopyInto(out *NfsServerList)

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

func (*NfsServerList) DeepCopyObject

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

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

type NfsServerSpec

type NfsServerSpec struct {
	Storage  StorageSpec `json:"storage"`
	Replicas *int32      `json:"replicas,omitempty"`
	Path     string      `json:"path,omitempty"`
	Image    string      `json:"image,omitempty"`
	Address  string      `json:"address,omitempty"`
}

func (*NfsServerSpec) DeepCopy

func (in *NfsServerSpec) DeepCopy() *NfsServerSpec

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

func (*NfsServerSpec) DeepCopyInto

func (in *NfsServerSpec) DeepCopyInto(out *NfsServerSpec)

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

type NfsServerStatus

type NfsServerStatus struct {
	Ready   bool   `json:"ready"`
	Phase   string `json:"phase,omitempty"`
	Message string `json:"message,omitempty"`
}

func (*NfsServerStatus) DeepCopy

func (in *NfsServerStatus) DeepCopy() *NfsServerStatus

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

func (*NfsServerStatus) DeepCopyInto

func (in *NfsServerStatus) DeepCopyInto(out *NfsServerStatus)

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

type StorageSpec

type StorageSpec struct {
	Capacity         string `json:"capacity"`
	StorageClassName string `json:"storageClassName,omitempty"`
	PersistentVolume string `json:"persistentVolume,omitempty"`
}

func (*StorageSpec) DeepCopy

func (in *StorageSpec) DeepCopy() *StorageSpec

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

func (*StorageSpec) DeepCopyInto

func (in *StorageSpec) DeepCopyInto(out *StorageSpec)

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