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.
Click to show internal directories.
Click to hide internal directories.