blob

package
v3.33.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 18, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AWS

func AWS(ctx context.Context, bucket string, conf *aws.Config) (*blob.Bucket, error)

func Azure added in v3.16.2

func Azure(ctx context.Context, accountName, containerName string) (*blob.Bucket, error)

Azure returns an open bucket that is connected to container containerName in storage account accountName.

func GCP

func GCP(ctx context.Context, bucket string, jsonCredentials []byte) (*blob.Bucket, error)

func Local

func Local(_ context.Context, bucket, path string) (*blob.Bucket, error)

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL