Documentation
¶
Index ¶
Constants ¶
const CapacityKeyPrefix = "capacity.topols.kvaster.com/"
CapacityKeyPrefix is the key prefix of Node annotation that represents VG free space.
const CapacityResource = corev1.ResourceName("topols.kvaster.com/capacity")
CapacityResource is the resource name of topols capacity.
const CreatedbyLabelKey = "app.kubernetes.io/created-by"
Label key that indicates The controller/user who created this resource https://kubernetes.io/docs/concepts/overview/working-with-objects/common-labels/#labels
const CreatedbyLabelValue = "topols-controller"
Label value that indicates The controller/user who created this resource
const DefaultCSISocket = "/run/topols/csi-topols.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 DefaultDeviceClassKey = "topols.kvaster.com/default-device-class"
DefaultDeviceClassKey is the key that represents default device class on Node
const DefaultDeviceClassName = ""
DefaultDeviceClassName is the name for the default device-class.
const DefaultSize = DefaultSizeGb << 30
DefaultSize is DefaultSizeGb in bytes
const DefaultSizeGb = 1
DefaultSizeGb is the default size in GiB for volumes (PVC or generic ephemeral volumes) w/o capacity requests.
const DeviceClassKey = "topols.kvaster.com/device-class"
DeviceClassKey is the key used in CSI volume create requests to specify a device-class.
const LVPendingDeletionKey = "topols.kvaster.com/pendingdeletion"
GetPendingDeletionKey returns the name of the pending-deletion annotation
const LogicalVolumeFinalizer = "topols.kvaster.com/logicalvolume"
LogicalVolumeFinalizer is the name of LogicalVolume finalizer
const NoCowKey = "topols.kvaster.com/no-cow"
NoCowKey is the key used in CSI volume create requests to specify no-cow property of filesystem
const NodeFinalizer = "topols.kvaster.com/node"
NodeFinalizer is the name of Node finalizer of TopoLS
const PVCFinalizer = "topols.kvaster.com/pvc"
PVCFinalizer is the name of PVC finalizer of TopoLS
const PluginName = "topols.kvaster.com"
PluginName is the name of the CSI plugin.
const ResizeRequestedAtKey = "topols.kvaster.com/resize-requested-at"
ResizeRequestedAtKey is the key of LogicalVolume that represents the timestamp of the resize request.
const TopologyNodeKey = "topology.topols.kvaster.com/node"
TopologyNodeKey is the key of topology that represents node name.
Variables ¶
var (
// Version is the topols version, this value will be injected on building.
Version = "devel"
)
Functions ¶
This section is empty.
Types ¶
This section is empty.
Directories
¶
| Path | Synopsis |
|---|---|
|
api
|
|
|
v1
Package v1 contains API Schema definitions for the topols v1 API group +kubebuilder:object:generate=true +groupName=topols.kvaster.com
|
Package v1 contains API Schema definitions for the topols v1 API group +kubebuilder:object:generate=true +groupName=topols.kvaster.com |
|
cmd
|
|
|
hypertopols
command
|
|
|
topols-controller
command
|
|
|
topols-node
command
|
|
|
topols-scheduler
command
|
|
|
internal
|
|
|
pkg
|
|