hookreg

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: 0 Imported by: 0

Documentation

Overview

Package hookreg holds the hooks that package ceph registers for the rbd, cephfs and rgw packages, for the fault and override operations and for the diagnostics and finalize packages, and the hooks that package rgw registers for rgw/multisite. It imports nothing, so ceph can register its hooks without importing internal/servicehook, internal/faulthook, internal/overridehook or ceph/internal/evidencehook, which import ceph and give the hooks their typed form. Each slot is written by one init function of the providing package and read only through a package that imports the provider, so the registration completes before any reader can run.

Index

Constants

This section is empty.

Variables

View Source
var Evidence any

Evidence is set once, during the initialization of package ceph, to the cluster inventory hooks that ceph/internal/evidencehook types for the diagnostics and finalize packages.

View Source
var Fault any

Fault is set once, during the initialization of package ceph, to the fault registry hooks that internal/faulthook types.

View Source
var Override any

Override is set once, during the initialization of package ceph, to the override hooks that internal/overridehook types.

View Source
var RGW any

RGW is set once, during the initialization of package rgw, to the gateway port reservation that internal/rgwhook types for rgw/multisite.

View Source
var Test any

Test is set once, during the initialization of package ceph, to the unit-test access seam that internal/testhelper types. It is the only link between test helper code and the unexported state of a cluster.

View Source
var Value any

Value is set once, during the initialization of package ceph.

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