Documentation ¶
Index ¶
- func AWS(ctx context.Context, bucket string, conf *aws.Config) (*blob.Bucket, error)
- func Azure(ctx context.Context, accountName, containerName string) (*blob.Bucket, error)
- func GCP(ctx context.Context, bucket string, jsonCredentials []byte) (*blob.Bucket, error)
- func Local(_ context.Context, bucket, path string) (*blob.Bucket, error)
- func WriterOptions(contentType string, kv ...string) *blob.WriterOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Azure ¶ added in v3.16.2
Azure returns an open bucket that is connected to container containerName in storage account accountName.
func WriterOptions ¶
func WriterOptions(contentType string, kv ...string) *blob.WriterOptions
WriterOptions returns WriterOptions with the given content type and metadata from the given key-value pairs.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.