Documentation ¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the storage v1alpha1 API group +k8s:openapi-gen=true +k8s:deepcopy-gen=package,register +k8s:conversion-gen=github.com/hzhhong/kubesphere/pkg/apis/storage +k8s:defaulter-gen=TypeMeta +groupName=storage.kubesphere.io
Package v1alpha1 contains API Schema definitions for the storage v1alpha1 API group +k8s:openapi-gen=true +k8s:deepcopy-gen=package,register +k8s:conversion-gen=github.com/hzhhong/kubesphere/pkg/apis/storage +k8s:defaulter-gen=TypeMeta +groupName=storage.kubesphere.io
Index ¶
- Variables
- func Resource(resource string) schema.GroupResource
- type CapabilityFeatures
- type ExpandMode
- type PluginInfo
- type ProvisionerCapability
- type ProvisionerCapabilityList
- type ProvisionerCapabilitySpec
- type SnapshotFeature
- type StorageClassCapability
- type StorageClassCapabilityList
- type StorageClassCapabilitySpec
- type VolumeFeature
Constants ¶
This section is empty.
Variables ¶
var ( // SchemeGroupVersion is group version used to register these objects SchemeGroupVersion = schema.GroupVersion{Group: "storage.kubesphere.io", Version: "v1alpha1"} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: SchemeGroupVersion} // AddToScheme is required by pkg/client/... AddToScheme = SchemeBuilder.AddToScheme )
Functions ¶
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource is required by pkg/client/listers/...
Types ¶
type CapabilityFeatures ¶
type CapabilityFeatures struct { Topology bool `json:"topology"` Volume VolumeFeature `json:"volume"` Snapshot SnapshotFeature `json:"snapshot"` }
CapabilityFeatures describe storage features
func (*CapabilityFeatures) DeepCopy ¶
func (in *CapabilityFeatures) DeepCopy() *CapabilityFeatures
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CapabilityFeatures.
func (*CapabilityFeatures) DeepCopyInto ¶
func (in *CapabilityFeatures) DeepCopyInto(out *CapabilityFeatures)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ExpandMode ¶
type ExpandMode string
const ( ExpandModeUnknown ExpandMode = "UNKNOWN" ExpandModeOffline ExpandMode = "OFFLINE" ExpandModeOnline ExpandMode = "ONLINE" )
type PluginInfo ¶
PluginInfo describes plugin info
func (*PluginInfo) DeepCopy ¶
func (in *PluginInfo) DeepCopy() *PluginInfo
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PluginInfo.
func (*PluginInfo) DeepCopyInto ¶
func (in *PluginInfo) DeepCopyInto(out *PluginInfo)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ProvisionerCapability ¶
type ProvisionerCapability struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ProvisionerCapabilitySpec `json:"spec"` }
ProvisionerCapability is the schema for the provisionercapability API +k8s:openapi-gen=true
func (*ProvisionerCapability) DeepCopy ¶
func (in *ProvisionerCapability) DeepCopy() *ProvisionerCapability
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProvisionerCapability.
func (*ProvisionerCapability) DeepCopyInto ¶
func (in *ProvisionerCapability) DeepCopyInto(out *ProvisionerCapability)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ProvisionerCapability) DeepCopyObject ¶
func (in *ProvisionerCapability) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ProvisionerCapabilityList ¶
type ProvisionerCapabilityList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata"` Items []ProvisionerCapability `json:"items"` }
+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
func (*ProvisionerCapabilityList) DeepCopy ¶
func (in *ProvisionerCapabilityList) DeepCopy() *ProvisionerCapabilityList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProvisionerCapabilityList.
func (*ProvisionerCapabilityList) DeepCopyInto ¶
func (in *ProvisionerCapabilityList) DeepCopyInto(out *ProvisionerCapabilityList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ProvisionerCapabilityList) DeepCopyObject ¶
func (in *ProvisionerCapabilityList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ProvisionerCapabilitySpec ¶
type ProvisionerCapabilitySpec struct { PluginInfo PluginInfo `json:"pluginInfo"` Features CapabilityFeatures `json:"features"` }
ProvisionerCapabilitySpec defines the desired state of ProvisionerCapability
func (*ProvisionerCapabilitySpec) DeepCopy ¶
func (in *ProvisionerCapabilitySpec) DeepCopy() *ProvisionerCapabilitySpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProvisionerCapabilitySpec.
func (*ProvisionerCapabilitySpec) DeepCopyInto ¶
func (in *ProvisionerCapabilitySpec) DeepCopyInto(out *ProvisionerCapabilitySpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SnapshotFeature ¶
SnapshotFeature describe snapshot features
func (*SnapshotFeature) DeepCopy ¶
func (in *SnapshotFeature) DeepCopy() *SnapshotFeature
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SnapshotFeature.
func (*SnapshotFeature) DeepCopyInto ¶
func (in *SnapshotFeature) DeepCopyInto(out *SnapshotFeature)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type StorageClassCapability ¶
type StorageClassCapability struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec StorageClassCapabilitySpec `json:"spec"` }
StorageClassCapability is the Schema for the storage class capability API +k8s:openapi-gen=true
func (*StorageClassCapability) DeepCopy ¶
func (in *StorageClassCapability) DeepCopy() *StorageClassCapability
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StorageClassCapability.
func (*StorageClassCapability) DeepCopyInto ¶
func (in *StorageClassCapability) DeepCopyInto(out *StorageClassCapability)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*StorageClassCapability) DeepCopyObject ¶
func (in *StorageClassCapability) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type StorageClassCapabilityList ¶
type StorageClassCapabilityList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata"` Items []StorageClassCapability `json:"items"` }
StorageClassCapabilityList contains a list of StorageClassCapability
func (*StorageClassCapabilityList) DeepCopy ¶
func (in *StorageClassCapabilityList) DeepCopy() *StorageClassCapabilityList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StorageClassCapabilityList.
func (*StorageClassCapabilityList) DeepCopyInto ¶
func (in *StorageClassCapabilityList) DeepCopyInto(out *StorageClassCapabilityList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*StorageClassCapabilityList) DeepCopyObject ¶
func (in *StorageClassCapabilityList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type StorageClassCapabilitySpec ¶
type StorageClassCapabilitySpec struct { Provisioner string `json:"provisioner"` Features CapabilityFeatures `json:"features"` }
StorageClassCapabilitySpec defines the desired state of StorageClassCapability
func (*StorageClassCapabilitySpec) DeepCopy ¶
func (in *StorageClassCapabilitySpec) DeepCopy() *StorageClassCapabilitySpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StorageClassCapabilitySpec.
func (*StorageClassCapabilitySpec) DeepCopyInto ¶
func (in *StorageClassCapabilitySpec) DeepCopyInto(out *StorageClassCapabilitySpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VolumeFeature ¶
type VolumeFeature struct { Create bool `json:"create"` Attach bool `json:"attach"` List bool `json:"list"` Clone bool `json:"clone"` Stats bool `json:"stats"` Expand ExpandMode `json:"expandMode"` }
VolumeFeature describe volume features
func (*VolumeFeature) DeepCopy ¶
func (in *VolumeFeature) DeepCopy() *VolumeFeature
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeFeature.
func (*VolumeFeature) DeepCopyInto ¶
func (in *VolumeFeature) DeepCopyInto(out *VolumeFeature)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.