resdisk

package
v3.0.0-rc67 Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2026 License: Apache-2.0 Imports: 5 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// GroupDevice holds what names the device the resource activates, on
	// the node or on the storage.
	GroupDevice = keywords.Group{
		ID:    "device",
		Name:  "Device",
		Text:  keywords.NewText(fs, "text/group/device"),
		Order: 10,
	}

	// GroupCreation holds how the provision creates the device: its size,
	// what it is made of, and the options of the command creating it.
	GroupCreation = keywords.Group{
		ID:    "creation",
		Name:  "Creation",
		Text:  keywords.NewText(fs, "text/group/creation"),
		Order: 20,
	}

	// GroupReplication holds how the devices are replicated between the
	// nodes or the sites, and how the start takes the replica over.
	GroupReplication = keywords.Group{
		ID:    "replication",
		Name:  "Replication",
		Text:  keywords.NewText(fs, "text/group/replication"),
		Order: 30,
	}

	// GroupAccess holds how the node accesses the devices the resource
	// exposes.
	GroupAccess = keywords.Group{
		ID:    "access",
		Name:  "Access",
		Text:  keywords.NewText(fs, "text/group/access"),
		Order: 60,
	}

	// GroupTimeouts holds how long the actions on the storage may take. It
	// has the id, name and order of the timeouts of the containers and the
	// tasks.
	GroupTimeouts = keywords.Group{
		ID:    "timeouts",
		Name:  "Timeouts",
		Text:  keywords.NewText(fs, "text/group/timeouts"),
		Order: 90,
	}
)

The groups of the keywords several disk drivers have, declared once here and added by each driver whose keywords name them. A group holds, in a driver, the keywords that driver declares with its id: the device of a logical volume is its name and its volume group, the one of a loop its file.

The drivers add their own groups, as the passphrase of a crypt disk, in the order between these. The SCSI persistent reservation keywords every disk driver has are in the reservation group every resource may name, as the multihost protection of a zpool is.

View Source
var (
	KWPromoteRW = keywords.Keyword{
		Attr:       "PromoteRW",
		Converter:  converters.Bool,
		Deprecated: "v3.0.0-rc62",
		Option:     "promote_rw",
		Group:      GroupAccess.ID,
		Text:       keywords.NewText(fs, "text/kw/promote_rw"),
	}

	BaseKeywords = append(
		manifest.SCSIPersistentReservationKeywords,
		&KWPromoteRW,
	)
)

Functions

This section is empty.

Types

type T

Jump to

Keyboard shortcuts

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