v1alpha1

package
v0.0.0-...-cfc12f1 Latest Latest
Warning

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

Go to latest
Published: Jul 18, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package v1alpha1 contains API Schema definitions for the storage v1alpha1 API group +k8s:openapi-gen=true +kubebuilder:object:generate=true +k8s:conversion-gen=kubesphere.io/api/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 +kubebuilder:object:generate=true +k8s:conversion-gen=kubesphere.io/api/storage +k8s:defaulter-gen=TypeMeta +groupName=storage.kubesphere.io

Index

Constants

This section is empty.

Variables

View Source
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

type PluginInfo struct {
	Name    string `json:"name"`
	Version string `json:"version"`
}

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

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"`
}

+kubebuilder:object:root=true

func (*ProvisionerCapabilityList) DeepCopy

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

func (*ProvisionerCapabilityList) DeepCopyInto

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

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

func (*ProvisionerCapabilitySpec) DeepCopyInto

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

type SnapshotFeature

type SnapshotFeature struct {
	Create bool `json:"create"`
	List   bool `json:"list"`
}

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

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

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

func (*StorageClassCapabilityList) DeepCopyInto

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

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

func (*StorageClassCapabilitySpec) DeepCopyInto

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.

Jump to

Keyboard shortcuts

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