sharedstore

package
v1.19.5 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2026 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package sharedstore provides a shared CephObjectStore fixture for tests under tests/integration/object. A single store is created once and torn down after all sub-package tests complete, avoiding the per-package setup/teardown overhead.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Setup

func Setup(t *testing.T, k8sh *utils.K8sHelper) (*cephv1.CephObjectStore, func())

Setup creates a shared CephObjectStore and its NodePort Service in ObjectStoreNamespace, waits for the store to become Ready, and returns a teardown function that deletes both resources. The teardown function should be deferred by the caller.

Types

This section is empty.

Jump to

Keyboard shortcuts

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