linstor

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2024 License: Apache-2.0 Imports: 1 Imported by: 2

Documentation

Index

Constants

View Source
const (
	// DriverName is the name used in CSI calls for this driver.
	DriverName = "linstor.csi.linbit.com"

	// LegacyParameterPassKey is the Aux props key in linstor where serialized CSI parameters
	// are stored.
	LegacyParameterPassKey = lc.NamespcAuxiliary + "/csi-volume-annotations"

	// PropertyProvisioningCompletedBy is the Aux props key in LINSTOR intentifying this resource as
	// fully provisioned by this plugin.
	PropertyProvisioningCompletedBy = lc.NamespcAuxiliary + "/csi-provisioning-completed-by"

	// PropertyCreatedFor is the Aux props key in linstor used to identify why a specific object (for example, a
	// resource) exists.
	PropertyCreatedFor = lc.NamespcAuxiliary + "/csi-created-for"

	// PropertyAllowTwoPrimaries is DRBD option to allow second primary. Mainly used for live-migration.
	PropertyAllowTwoPrimaries = lc.NamespcDrbdNetOptions + "/allow-two-primaries"

	// CreatedForTemporaryDisklessAttach marks a resource as temporary, i.e. it should be removed after it is no longer
	// needed.
	CreatedForTemporaryDisklessAttach = "temporary-diskless-attach"

	// ParameterNamespace is the preferred namespace when setting parameters in
	ParameterNamespace = DriverName

	// SnapshotParameterNamespace is the namespace when setting snapshot parameters in storage and snapshot classes.
	SnapshotParameterNamespace = "snap." + DriverName

	// PropertyNamespace is the namespace for LINSTOR properties in kubernetes storage class parameters.
	PropertyNamespace = "property." + DriverName

	// ResourceGroupNamespace is the UUID namespace for generated resource groups
	ResourceGroupNamespace = "resourcegroup." + DriverName
)

Variables

This section is empty.

Functions

This section is empty.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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