topolvm: github.com/cybozu-go/topolvm Index | Files | Directories

package topolvm

import "github.com/cybozu-go/topolvm"

Index

Package Files

constants.go version.go

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"
)

Directories

PathSynopsis
api/v1Package v1 contains API Schema definitions for the topolvm v1 API group +kubebuilder:object:generate=true +groupName=topolvm.cybozu.com
controllers
csi
driver
driver/k8s
filesystem
hook
lvmd
lvmd/command
lvmd/proto
runners
scheduler

Package topolvm imports 1 packages (graph) and is imported by 6 packages. Updated 2020-06-26. Refresh now. Tools for package owners.