object_store

package
v0.51.0 Latest Latest
Warning

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

Go to latest
Published: May 1, 2026 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Store

type Store interface {
	// AccessObjectStore accesses a object store by ID.
	// The context is used for the API calls.
	// Returns theh object store, a release function.
	// Accepts a function to call if the ObjectStore is released.
	AccessObjectStore(ctx context.Context, id string, released func()) (object.ObjectStore, func(), error)
	// DeleteObjectStore deletes a object store and all contents by ID.
	// Existing object store handles will be released.
	DeleteObjectStore(ctx context.Context, id string) error
}

Store implements the object store.

Jump to

Keyboard shortcuts

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