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
type S3Client ¶ added in v0.25.0
type S3Client struct {
// contains filtered or unexported fields
}
func NewS3BucketWithConfig ¶ added in v0.25.0
func NewS3Client ¶ added in v0.25.0
Click to show internal directories.
Click to hide internal directories.