v1alpha1

package
v0.0.0-...-ed191c8 Latest Latest
Warning

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

Go to latest
Published: Sep 3, 2025 License: Apache-2.0 Imports: 3 Imported by: 6

Documentation

Index

Constants

View Source
const (
	NFSStorageClassKind = "NFSStorageClass"
	APIGroup            = "storage.deckhouse.io"
	APIVersion          = "v1alpha1"
	APIGroupMC          = "deckhouse.io"
)

Variables

View Source
var (
	SchemeGroupVersion = schema.GroupVersion{
		Group:   APIGroup,
		Version: APIVersion,
	}

	SchemeGroupVersionMC = schema.GroupVersion{
		Group:   APIGroupMC,
		Version: APIVersion,
	}
	SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes)
	AddToScheme   = SchemeBuilder.AddToScheme
)

SchemeGroupVersion is group version used to register these objects

Functions

This section is empty.

Types

type NFSStorageClass

type NFSStorageClass struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              NFSStorageClassSpec    `json:"spec"`
	Status            *NFSStorageClassStatus `json:"status,omitempty"`
}

+k8s:deepcopy-gen=true +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object

func (*NFSStorageClass) DeepCopy

func (in *NFSStorageClass) DeepCopy() *NFSStorageClass

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

func (*NFSStorageClass) DeepCopyInto

func (in *NFSStorageClass) DeepCopyInto(out *NFSStorageClass)

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

func (*NFSStorageClass) DeepCopyObject

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

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

type NFSStorageClassConnection

type NFSStorageClassConnection struct {
	Host       string `json:"host"`
	Share      string `json:"share"`
	NFSVersion string `json:"nfsVersion"`
	Tls        bool   `json:"tls"`
	Mtls       bool   `json:"mtls"`
}

+k8s:deepcopy-gen=true

func (*NFSStorageClassConnection) DeepCopy

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

func (*NFSStorageClassConnection) DeepCopyInto

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

type NFSStorageClassList

type NFSStorageClassList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata"`
	Items           []NFSStorageClass `json:"items"`
}

+k8s:deepcopy-gen=true +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object

func (*NFSStorageClassList) DeepCopy

func (in *NFSStorageClassList) DeepCopy() *NFSStorageClassList

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

func (*NFSStorageClassList) DeepCopyInto

func (in *NFSStorageClassList) DeepCopyInto(out *NFSStorageClassList)

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

func (*NFSStorageClassList) DeepCopyObject

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

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

type NFSStorageClassMountOptions

type NFSStorageClassMountOptions struct {
	MountMode       string `json:"mountMode,omitempty"`
	Timeout         int    `json:"timeout,omitempty"`
	Retransmissions int    `json:"retransmissions,omitempty"`
	ReadOnly        *bool  `json:"readOnly,omitempty"`
}

+k8s:deepcopy-gen=true

func (*NFSStorageClassMountOptions) DeepCopy

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

func (*NFSStorageClassMountOptions) DeepCopyInto

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

type NFSStorageClassSpec

type NFSStorageClassSpec struct {
	Connection        *NFSStorageClassConnection    `json:"connection,omitempty"`
	MountOptions      *NFSStorageClassMountOptions  `json:"mountOptions,omitempty"`
	ChmodPermissions  string                        `json:"chmodPermissions,omitempty"`
	ReclaimPolicy     string                        `json:"reclaimPolicy"`
	VolumeBindingMode string                        `json:"volumeBindingMode"`
	WorkloadNodes     *NFSStorageClassWorkloadNodes `json:"workloadNodes,omitempty"`
	VolumeCleanup     string                        `json:"volumeCleanup,omitempty"`
}

+k8s:deepcopy-gen=true

func (*NFSStorageClassSpec) DeepCopy

func (in *NFSStorageClassSpec) DeepCopy() *NFSStorageClassSpec

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

func (*NFSStorageClassSpec) DeepCopyInto

func (in *NFSStorageClassSpec) DeepCopyInto(out *NFSStorageClassSpec)

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

type NFSStorageClassStatus

type NFSStorageClassStatus struct {
	Phase  string `json:"phase,omitempty"`
	Reason string `json:"reason,omitempty"`
}

+k8s:deepcopy-gen=true

func (*NFSStorageClassStatus) DeepCopy

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

func (*NFSStorageClassStatus) DeepCopyInto

func (in *NFSStorageClassStatus) DeepCopyInto(out *NFSStorageClassStatus)

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

type NFSStorageClassWorkloadNodes

type NFSStorageClassWorkloadNodes struct {
	NodeSelector *metav1.LabelSelector `json:"nodeSelector"`
}

+k8s:deepcopy-gen=true

Jump to

Keyboard shortcuts

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