types

package
v1.1.6 Latest Latest
Warning

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

Go to latest
Published: Jan 21, 2022 License: Apache-2.0 Imports: 1 Imported by: 0

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
)

Jump to

Keyboard shortcuts

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