spec

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: May 8, 2020 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DevDir             = "/dev/"
	DevDirName         = "device-dir"
	LinstorConfDir     = "/etc/linstor"
	LinstorConfDirName = "linstor-conf"
	ModulesDir         = "/lib/modules/" // "/usr/lib/modules/"
	ModulesDirName     = "modules-dir"
	SrcDir             = "/usr/src"
	SrcDirName         = "src-dir"
)

Shared consts common to container volumes.

View Source
const (
	LinstorKernelModHow            = "LB_HOW"
	LinstorKernelModCompile        = "compile"
	LinstorKernelModShippedModules = "shipped_modules"
)

Special strings for communicating with the module injector

View Source
const (
	// APIGroup specifies the group for the custom resource definition APIs
	APIGroup = "piraeus.linbit.com"

	// PiraeusNode label to mark nodes eligible to run piraeus-node pods
	PiraeusNode = "linstor.linbit.com/piraeus-node"

	// ControllerRole is the role for the controller set
	ControllerRole = "piraeus-controller"

	// NodeRole is the role for the node set
	NodeRole = "piraeus-node"

	// LockName is the name of the lock for leader election
	LockName = "piraeus-operator-lock"
)

Variables

View Source
var (
	HostPathDirectoryType         = corev1.HostPathDirectory
	HostPathDirectoryOrCreateType = corev1.HostPathDirectoryOrCreate
	MountPropagationBidirectional = corev1.MountPropagationBidirectional
)

Shared consts common to container volumes. These need to be vars, so they are addressible.

View Source
var (
	Privileged = true
)

Shared consts common to container security. These need to be vars, so they are addressible.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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