Documentation ¶
Index ¶
Constants ¶
View Source
const DirDelim = "/"
DirDelim is the delimiter used to model a directory structure in an object store bucket.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client interface { io.Closer SignedPUT( ctx context.Context, objectKey string, size int64, expiry time.Time, ) (string, error) SignedGET( ctx context.Context, objectKey string, expiry time.Time, ) (string, error) }
func NewPrefixedClient ¶
type ErrUnsupportedProvider ¶
type ErrUnsupportedProvider struct {
Provider client.ObjProvider
}
func (ErrUnsupportedProvider) Error ¶
func (e ErrUnsupportedProvider) Error() string
type GCSClient ¶
type GCSClient struct {
// contains filtered or unexported fields
}
func NewGCSBucketWithConfig ¶
type PrefixedClient ¶
type PrefixedClient struct {
// contains filtered or unexported fields
}
func (*PrefixedClient) Close ¶
func (c *PrefixedClient) Close() error
Click to show internal directories.
Click to hide internal directories.