Documentation
¶
Index ¶
- type ObjectStore
- func (s *ObjectStore) DeleteObjectStore(ctx context.Context, req *object_rpc.DeleteObjectStoreRequest) (*object_rpc.DeleteObjectStoreResponse, error)
- func (s *ObjectStore) GetObjectStoreMux(ctx context.Context, objStoreID string, _ func()) (srpc.Invoker, func(), error)
- func (s *ObjectStore) ObjectStoreRpc(strm object_rpc.SRPCObjectStore_ObjectStoreRpcStream) error
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 the server with a ObjectStore.
func NewObjectStore ¶
func NewObjectStore(ctx context.Context, store object_store.Store) *ObjectStore
NewObjectStore constructs a new ObjectStore.
func (*ObjectStore) DeleteObjectStore ¶
func (s *ObjectStore) DeleteObjectStore( ctx context.Context, req *object_rpc.DeleteObjectStoreRequest, ) (*object_rpc.DeleteObjectStoreResponse, error)
DeleteObjectStore removes an object store by id.
func (*ObjectStore) GetObjectStoreMux ¶
func (s *ObjectStore) GetObjectStoreMux(ctx context.Context, objStoreID string, _ func()) (srpc.Invoker, func(), error)
GetObjectStoreMux returns the srpc.Mux for an object store.
func (*ObjectStore) ObjectStoreRpc ¶
func (s *ObjectStore) ObjectStoreRpc( strm object_rpc.SRPCObjectStore_ObjectStoreRpcStream, ) error
ObjectStoreRpc opens a RpcStream for a ObjectStore.
Click to show internal directories.
Click to hide internal directories.