Directories
¶
| Path | Synopsis |
|---|---|
|
Package capture records packets in one container's network namespace with an opt-in packet-capture helper, retrieves the classic pcap file and checks its structure.
|
Package capture records packets in one container's network namespace with an opt-in packet-capture helper, retrieves the classic pcap file and checks its structure. |
|
Package ceph provisions disposable Ceph clusters using testcontainers-go.
|
Package ceph provisions disposable Ceph clusters using testcontainers-go. |
|
Package cephfs prepares CephFS server fixtures in disposable Ceph clusters: filesystems and their MDS topology, subvolume groups, subvolumes, snapshots, clones, pins, quiesce sets and client authorization.
|
Package cephfs prepares CephFS server fixtures in disposable Ceph clusters: filesystems and their MDS topology, subvolume groups, subvolumes, snapshots, clones, pins, quiesce sets and client authorization. |
|
mirror
Package mirror mirrors CephFS snapshots of selected directories from a filesystem in one Ceph cluster to a filesystem in another, with native cephfs-mirror daemons: directory enrollment, peer management, MGR reassignment, process quiescence and typed readiness observation.
|
Package mirror mirrors CephFS snapshots of selected directories from a filesystem in one Ceph cluster to a filesystem in another, with native cephfs-mirror daemons: directory enrollment, peer management, MGR reassignment, process quiescence and typed readiness observation. |
|
Package fault injects dedicated faults into an existing Ceph fixture.
|
Package fault injects dedicated faults into an existing Ceph fixture. |
|
internal
|
|
|
apiinventory/catalogue
Package catalogue derives, stores and checks the package-scoped public API catalogues under internal/apiinventory/catalogues.
|
Package catalogue derives, stores and checks the package-scoped public API catalogues under internal/apiinventory/catalogues. |
|
clusteraccess
Package clusteraccess gives tests one-line access to the context-taking topology accessors of ceph.Container and rgw.
|
Package clusteraccess gives tests one-line access to the context-taking topology accessors of ceph.Container and rgw. |
|
clustertest
Package clustertest holds unit-test fakes and assertions that package ceph, the service packages and internal/multicluster share.
|
Package clustertest holds unit-test fakes and assertions that package ceph, the service packages and internal/multicluster share. |
|
clusterutil
Package clusterutil holds small helpers that the cluster implementation and the service packages share: context-bounded locking, polling, operation errors and keyring parsing.
|
Package clusterutil holds small helpers that the cluster implementation and the service packages share: context-bounded locking, polling, operation errors and keyring parsing. |
|
dockerbridge
Package dockerbridge creates Testcontainers bridges whose allocated subnet can also accept endpoints restored to their original IP on older Engines.
|
Package dockerbridge creates Testcontainers bridges whose allocated subnet can also accept endpoints restored to their original IP on older Engines. |
|
faulthook
Package faulthook gives fault operations outside package ceph the parts of a ceph.Container that are not public API: the cluster's fault registry, its mutex and the private helpers that fault operations use.
|
Package faulthook gives fault operations outside package ceph the parts of a ceph.Container that are not public API: the cluster's fault registry, its mutex and the private helpers that fault operations use. |
|
hookreg
Package hookreg holds the hooks that package ceph registers for the rbd, cephfs and rgw packages, for the fault operations, for the override operations, and the hooks that package rgw registers for rgw/multisite.
|
Package hookreg holds the hooks that package ceph registers for the rbd, cephfs and rgw packages, for the fault operations, for the override operations, and the hooks that package rgw registers for rgw/multisite. |
|
multicluster
Package multicluster holds helpers shared by the cross-cluster fixtures of the rbd, cephfs and rgw packages: ownership of the extra containers and network attachments they create, cluster pair validation, CLI execution and bounded locking.
|
Package multicluster holds helpers shared by the cross-cluster fixtures of the rbd, cephfs and rgw packages: ownership of the extra containers and network attachments they create, cluster pair validation, CLI execution and bounded locking. |
|
naming
Package naming holds the name patterns the cluster and service packages accept for Ceph resources before passing them to a CLI.
|
Package naming holds the name patterns the cluster and service packages accept for Ceph resources before passing them to a CLI. |
|
overridehook
Package overridehook gives the override package the parts of a ceph.Container that are not public API: the cluster's registry of held overrides, its mutex and one typed operation per native command.
|
Package overridehook gives the override package the parts of a ceph.Container that are not public API: the cluster's registry of held overrides, its mutex and one typed operation per native command. |
|
pcapfile
Package pcapfile checks the structure of a classic pcap capture file with bounded reads.
|
Package pcapfile checks the structure of a classic pcap capture file with bounded reads. |
|
rgwhook
Package rgwhook gives rgw/multisite the parts of the rgw handles that are not public API: whether a gateway can serve a user or placement handle.
|
Package rgwhook gives rgw/multisite the parts of the rgw handles that are not public API: whether a gateway can serve a user or placement handle. |
|
servicehook
Package servicehook gives the rbd, cephfs and rgw packages the parts of a ceph.Container that are not public API, such as its mutex and Run-time provisioning.
|
Package servicehook gives the rbd, cephfs and rgw packages the parts of a ceph.Container that are not public API, such as its mutex and Run-time provisioning. |
|
strictjson
Package strictjson reads native Ceph JSON without the silent choices of encoding/json.
|
Package strictjson reads native Ceph JSON without the silent choices of encoding/json. |
|
supervised
Package supervised runs a command inside a container under a Python supervisor that bounds its run time and output, and that a canceled caller can stop without leaving the command behind.
|
Package supervised runs a command inside a container under a Python supervisor that bounds its run time and output, and that a canceled caller can stop without leaving the command behind. |
|
testhelper
Package testhelper gives unit tests of the ceph, rbd, cephfs, rgw, fault, override and internal packages the synthetic cluster constructor, the privileged state accessors and the registry snapshots they need.
|
Package testhelper gives unit tests of the ceph, rbd, cephfs, rgw, fault, override and internal packages the synthetic cluster constructor, the privileged state accessors and the registry snapshots they need. |
|
tools/apinaming
command
Command apinaming maintains the package-scoped API catalogues under internal/apiinventory/catalogues.
|
Command apinaming maintains the package-scoped API catalogues under internal/apiinventory/catalogues. |
|
tools/batchselect
command
Command batchselect reports which test batches of one package a change can affect.
|
Command batchselect reports which test batches of one package a change can affect. |
|
tools/lintcalibration
command
Command lintcalibration runs the metric linters of issue #226 (cyclop, dupl, funlen, gocognit) through golangci-lint with a report-only configuration that keeps every diagnostic, and prints them grouped by source location.
|
Command lintcalibration runs the metric linters of issue #226 (cyclop, dupl, funlen, gocognit) through golangci-lint with a report-only configuration that keeps every diagnostic, and prints them grouped by source location. |
|
tools/messengercases
command
Command messengercases indexes top-level integration test declarations and their literal log markers.
|
Command messengercases indexes top-level integration test declarations and their literal log markers. |
|
tools/structmetrics
command
Command structmetrics reports a fixed structural measurement of named struct types: declared methods (split by exported-name and private) and direct fields per type, for chosen package directories of one source snapshot, and the per-type difference between a base and a head snapshot.
|
Command structmetrics reports a fixed structural measurement of named struct types: declared methods (split by exported-name and private) and direct fields per type, for chosen package directories of one source snapshot, and the per-type difference between a base and a head snapshot. |
|
tools/tagcatalog
command
Command tagcatalog reads test declarations and build expressions without importing or executing packages from the repository it inspects.
|
Command tagcatalog reads test declarations and build expressions without importing or executing packages from the repository it inspects. |
|
tools/testdoublecheck
command
Command testdoublecheck checks, without Docker, that every test double and test-only access point of the module says what it is, next to its declaration.
|
Command testdoublecheck checks, without Docker, that every test double and test-only access point of the module says what it is, next to its declaration. |
|
tools/testsupportcheck
command
Command testsupportcheck checks, without Docker, the import, seam and declaration boundary of the repository's test-only code: which packages may import the shared test helpers, which files may read the unit seam, and which declarations may appear in non-test files.
|
Command testsupportcheck checks, without Docker, the import, seam and declaration boundary of the repository's test-only code: which packages may import the shared test helpers, which files may read the unit seam, and which declarations may appear in non-test files. |
|
Package override changes one cluster-wide setting of a ceph.Container for a while and puts it back.
|
Package override changes one cluster-wide setting of a ceph.Container for a while and puts it back. |
|
Package rbd prepares RBD server fixtures in disposable Ceph clusters: initialized image pools, namespaces and full or incremental backup transport.
|
Package rbd prepares RBD server fixtures in disposable Ceph clusters: initialized image pools, namespaces and full or incremental backup transport. |
|
internal/resourcename
Package resourcename validates the pool, namespace and image names accepted by standalone RBD operations.
|
Package resourcename validates the pool, namespace and image names accepted by standalone RBD operations. |
|
mirror
Package mirror connects two Ceph clusters with native RBD mirroring: setup CLI containers, one-way pool or image mirroring in snapshot or journal mode, any number of rbd-mirror receiver daemons, and typed readiness observation.
|
Package mirror connects two Ceph clusters with native RBD mirroring: setup CLI containers, one-way pool or image mirroring in snapshot or journal mode, any number of rbd-mirror receiver daemons, and typed readiness observation. |
|
Package rgw prepares RADOS Gateway fixtures in disposable Ceph clusters: gateways, S3 users, tenants and accounts, quotas, placement targets and storage classes, and native TLS.
|
Package rgw prepares RADOS Gateway fixtures in disposable Ceph clusters: gateways, S3 users, tenants and accounts, quotas, placement targets and storage classes, and native TLS. |
|
multisite
Package multisite orchestrates RGW multisite fixtures across independent Ceph clusters: one realm, zones and zonegroups, period transfer, sync status and sync policies.
|
Package multisite orchestrates RGW multisite fixtures across independent Ceph clusters: one realm, zones and zonegroups, period transfer, sync status and sync policies. |
Click to show internal directories.
Click to hide internal directories.