Documentation
¶
Index ¶
- type Client
- func (c *Client) Create(ctx context.Context, userID string, create *blob.Create) (*blob.Blob, error)
- func (c *Client) Delete(ctx context.Context, id string) (bool, error)
- func (c *Client) Get(ctx context.Context, id string) (*blob.Blob, error)
- func (c *Client) GetContent(ctx context.Context, id string) (*blob.Content, error)
- func (c *Client) List(ctx context.Context, userID string, filter *blob.Filter, ...) (blob.Blobs, error)
- type ClientProvider
- type Service
- func (s *Service) BlobClient() blob.Client
- func (s *Service) BlobStructuredStore() blobStoreStructured.Store
- func (s *Service) BlobUnstructuredStore() blobStoreUnstructured.Store
- func (s *Service) Initialize(provider application.Provider) error
- func (s *Service) Status() interface{}
- func (s *Service) Terminate()
- func (s *Service) UserClient() user.Client
- type SizeWriter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
ClientProvider
}
func NewClient ¶
func NewClient(clientProvider ClientProvider) (*Client, error)
func (*Client) GetContent ¶
type ClientProvider ¶
type ClientProvider interface { BlobStructuredStore() blobStoreStructured.Store BlobUnstructuredStore() blobStoreUnstructured.Store UserClient() user.Client }
type Service ¶
type Service struct { *serviceService.Authenticated // contains filtered or unexported fields }
func (*Service) BlobClient ¶
func (*Service) BlobStructuredStore ¶
func (s *Service) BlobStructuredStore() blobStoreStructured.Store
func (*Service) BlobUnstructuredStore ¶
func (s *Service) BlobUnstructuredStore() blobStoreUnstructured.Store
func (*Service) Initialize ¶
func (s *Service) Initialize(provider application.Provider) error
func (*Service) UserClient ¶
type SizeWriter ¶
type SizeWriter struct {
Size int
}
func NewSizeWriter ¶
func NewSizeWriter() *SizeWriter
Click to show internal directories.
Click to hide internal directories.