bucket

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2024 License: BSD-3-Clause Imports: 9 Imported by: 25

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewReadSeekCloser added in v0.0.9

func NewReadSeekCloser(ctx context.Context, b *blob.Bucket, key string, opts *blob.ReaderOptions) (io.ReadSeekCloser, error)

func OpenBucket

func OpenBucket(ctx context.Context, bucket_uri string) (*gc_blob.Bucket, error)

OpenBucket is a local helper function to open a gocloud.dev/blob Bucket URI and ensuring that files will not be written with their corresponding metdata (`.attrs`) files.

func ParseURI added in v0.4.0

func ParseURI(uri string) (string, string, error)

Parse a URI in to its `gocloud.dev/blob.Bucket` URI and key values.

Types

This section is empty.

Jump to

Keyboard shortcuts

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