extstore

package
v1.1.0-beta.0...-e2f85cd Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2026 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetGlobalExtStorage

func GetGlobalExtStorage(ctx context.Context) (storeapi.Storage, error)

GetGlobalExtStorage returns the global external storage instance. If the storage is not initialized, it will be created automatically.

func NewExtStorage

func NewExtStorage(ctx context.Context, rawURL, namespace string) (storeapi.Storage, error)

NewExtStorage creates a new external storage instance.

func SetGlobalExtStorageForTest

func SetGlobalExtStorageForTest(storage storeapi.Storage)

SetGlobalExtStorageForTest sets the global external storage instance for testing. This function should only be used in tests.

Types

This section is empty.

Jump to

Keyboard shortcuts

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