object_rpc_client

package
v0.51.2 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ObjectStore

type ObjectStore struct {
	// contains filtered or unexported fields
}

ObjectStore implements a ObjectStore backed by a ObjectStore service.

func NewObjectStore

func NewObjectStore(client object_rpc.SRPCObjectStoreClient) *ObjectStore

NewObjectStore constructs a new ObjectStore.

func (*ObjectStore) AccessObjectStore

func (s *ObjectStore) AccessObjectStore(ctx context.Context, id string, released func()) (object.ObjectStore, func(), error)

AccessObjectStore opens a object store by ID. The context is used for the API calls.

func (*ObjectStore) DeleteObjectStore

func (s *ObjectStore) DeleteObjectStore(ctx context.Context, id string) error

DeleteObjectStore deletes a object store and all contents by ID.

Jump to

Keyboard shortcuts

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