Documentation
¶
Overview ¶
Package client implements an object store service client
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrInvalidConfig = errors.New("invalid configuration")
ErrInvalidConfig signals an error with the client configuration
Functions ¶
This section is empty.
Types ¶
type StoreClient ¶
type StoreClient struct {
// contains filtered or unexported fields
}
StoreClient access blobs in a StoreServer
func NewStoreClient ¶
func NewStoreClient(config StoreClientConfig) (*StoreClient, error)
NewStoreClient returns a client for an object store server
func (*StoreClient) Download ¶
func (c *StoreClient) Download(ctx context.Context, object store.Object) (io.ReadCloser, error)
Download returns the content of the object given its url
type StoreClientConfig ¶
StoreClientConfig defines the configuration for accessing a remote object store service
Click to show internal directories.
Click to hide internal directories.