naming

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2026 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

Package naming holds the name patterns the cluster and service packages accept for Ceph resources before passing them to a CLI.

Index

Constants

This section is empty.

Variables

View Source
var ClientID = regexp.MustCompile(`^[a-zA-Z0-9][a-zA-Z0-9_.-]{0,127}$`)

ClientID matches a Cephx client ID without its "client." prefix.

View Source
var DaemonName = regexp.MustCompile(`^[a-zA-Z0-9][a-zA-Z0-9_.-]*$`)

DaemonName matches a daemon or service instance name.

View Source
var ExistingPool = regexp.MustCompile(`^[A-Za-z0-9_.][A-Za-z0-9_.-]{0,127}$`)

ExistingPool matches a native pool name that a fixture may reference but did not create, including Ceph's own dotted pools such as .mgr.

View Source
var PoolResource = regexp.MustCompile(`^[A-Za-z0-9_][A-Za-z0-9_.-]*$`)

PoolResource matches pool, RBD namespace and image names: letters, digits, underscores, dots or dashes, not starting with a dot or dash.

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