Documentation ¶
Index ¶
Constants ¶
View Source
const ( // LocalDriverName tag LocalDriverName = "localplugin.csi.alibabacloud.com" // NodeSchedueTag in annotations NodeSchedueTag = "volume.kubernetes.io/selected-node" // PmemProjectQuotaBasePath ... PmemProjectQuotaBasePath = "/mnt/quotapath.%s" // PmemDeviceFilesystem ... PmemDeviceFilesystem = "ext4" // PmemLVMType ... PmemLVMType = "lvm" // PmemDirectType ... PmemDirectType = "direct" // PmemQuotaPathType ... PmemQuotaPathType = "quotapath" // PmemKmemType ... PmemKmemType = "kmem" )
View Source
const ( // VolumeSpecLabel tag VolumeSpecLabel = "pv.csi.alibabacloud.com/volume.spec" // VolumeLifecycleLabel tag VolumeLifecycleLabel = "pv.csi.alibabacloud.com/volume.lifecycle" // PmemNodeLable ... PmemNodeLable = "pmem.csi.alibabacloud.com/type" // VolumeLifecycleCreating tag VolumeLifecycleCreating = "creating" // VolumeLifecycleCreated tag VolumeLifecycleCreated = "created" // VolumeLifecycleDeleting tag VolumeLifecycleDeleting = "deleting" // VolumeLifecycleDeleted tag VolumeLifecycleDeleted = "deleted" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GlobalConfig ¶
type GlobalConfig struct { Region string NodeID string Scheduler string PmemEnable bool PmemType string GrpcProvision bool HostNameAsTopo bool TopoKeyDefine string KubeClient *kubernetes.Clientset }
GlobalConfig var
var ( // GlobalConfigVar var GlobalConfigVar GlobalConfig )
Click to show internal directories.
Click to hide internal directories.