Documentation
¶
Index ¶
Constants ¶
const ( NFSStorageClassKind = "NFSStorageClass" APIGroup = "storage.deckhouse.io" APIVersion = "v1alpha1" APIGroupMC = "deckhouse.io" )
Variables ¶
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"` NFSVersion string `json:"nfsVersion"` Tls bool `json:"tls"` Mtls bool `json:"mtls"` }
+k8s:deepcopy-gen=true
func (*NFSStorageClassConnection) DeepCopy ¶
func (in *NFSStorageClassConnection) DeepCopy() *NFSStorageClassConnection
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NFSStorageClassConnection.
func (*NFSStorageClassConnection) DeepCopyInto ¶
func (in *NFSStorageClassConnection) DeepCopyInto(out *NFSStorageClassConnection)
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 ¶
func (in *NFSStorageClassMountOptions) DeepCopy() *NFSStorageClassMountOptions
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NFSStorageClassMountOptions.
func (*NFSStorageClassMountOptions) DeepCopyInto ¶
func (in *NFSStorageClassMountOptions) DeepCopyInto(out *NFSStorageClassMountOptions)
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 ¶
func (in *NFSStorageClassStatus) DeepCopy() *NFSStorageClassStatus
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