Back to godoc.org
github.com/cybozu-go/topolvm

package topolvm

v0.5.0
Latest Go to latest
Published: Jun 22, 2020 | License: MIT | Module: github.com/cybozu-go/topolvm

Index

Constants

const CapacityKeyPrefix = "capacity.topolvm.cybozu.com/"

CapacityKeyPrefix is the key prefix of Node annotation that represents VG free space.

const CapacityResource = corev1.ResourceName("topolvm.cybozu.com/capacity")

CapacityResource is the resource name of topolvm capacity.

const DefaultCSISocket = "/run/topolvm/csi-topolvm.sock"

DefaultCSISocket is the default path of the CSI socket file.

const DefaultDeviceClassAnnotationName = "00default"

DefaultDeviceClassAnnotationName is the part of annotation name for the default device-class.

const DefaultDeviceClassName = ""

DefaultDeviceClassName is the name for the default device-class.

const DefaultLVMdSocket = "/run/topolvm/lvmd.sock"

DefaultLVMdSocket is the default path of the lvmd socket file.

const DefaultSize = DefaultSizeGb << 30

DefaultSize is DefaultSizeGb in bytes

const DefaultSizeGb = 1

DefaultSizeGb is the default size in GiB for volumes (PVC or inline ephemeral volumes) w/o capacity requests.

const DeviceClassKey = "topolvm.cybozu.com/device-class"

DeviceClassKey is the key used in CSI volume create requests to specify a device-class.

const EphemeralVolumeSizeKey = "topolvm.cybozu.com/size"

EphemeralVolumeSizeKey is the key used to obtain ephemeral inline volume size from the volume context

const LogicalVolumeFinalizer = "topolvm.cybozu.com/logicalvolume"

LogicalVolumeFinalizer is the name of LogicalVolume finalizer

const NodeFinalizer = "topolvm.cybozu.com/node"

NodeFinalizer is the name of Node finalizer of TopoLVM

const PVCFinalizer = "topolvm.cybozu.com/pvc"

PVCFinalizer is the name of PVC finalizer of TopoLVM

const PluginName = "topolvm.cybozu.com"

PluginName is the name of the CSI plugin.

const ResizeRequestedAtKey = "topolvm.cybozu.com/resize-requested-at"

ResizeRequestedAtKey is the key of LogicalVolume that represents the timestamp of the resize request.

const TopologyNodeKey = "topology.topolvm.cybozu.com/node"

TopologyNodeKey is the key of topology that represents node name.

const (
	// Version is the topolvm version
	Version = "0.5.0"
)
Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier