arrayceph

package
v3.0.0-rc77 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2026 License: Apache-2.0 Imports: 13 Imported by: 0 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

Overview

Package arrayceph is the ceph array: a ceph cluster the nodes reach as a client, by its monitors, its client id and its keyring, for the rados pools resting on it and the rados disks of their volumes.

Its arrays are namespaced: an administrator of a namespace writes the one of the cluster the namespace owns, and the nodes reach its monitors at the addresses om checked against the endpoint rules, with the keyring of the array, and not the ceph configuration of the node.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewDriver

func NewDriver() array.Driver

Types

type Array

type Array struct {
	*array.Array
}

Array is the driver of a ceph array, which has no command of its own: the rados pools and disks reach the cluster through it.

func (*Array) Run

func (t *Array) Run(args []string) error

Run says a ceph array has no command: om reaches it for its pools.

type Conn

type Conn struct {
	// Path is the array object.
	Path naming.Path

	// Monitors are the addresses of the monitors, with their
	// port when the array says one, as -m takes them.
	Monitors []string

	ClientID string

	// Keyring is the file holding the keyring, read by root
	// alone.
	Keyring string
}

Conn is what a rbd or ceph command needs to reach the cluster of a ceph array: the addresses of its monitors, checked, its client id and the file of its keyring.

func Connect

func Connect(ref string, reader naming.Path) (*Conn, error)

Connect returns what reaches the cluster of the ceph array ref names, as an object of the namespace of reader uses it: ./array/<name> an array of that namespace, system/array/<name> or <namespace>/array/<name> one whose share admits it. A namespace learns nothing of an array not shared with it, not even whether it exists.

func (Conn) Args

func (t Conn) Args() []string

Args returns the arguments of a rbd or ceph command reaching the cluster: no configuration file, so that the one of the node says nothing, the monitors checked, the client and its keyring.

Jump to

Keyboard shortcuts

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