cloudutils

package
v0.0.0-...-841f565 Latest Latest
Warning

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

Go to latest
Published: Sep 28, 2022 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BlobCheck

func BlobCheck(ctx context.Context, bucketURL, checkString string) (bool, error)

BlobCheck queries a binary storage location for a designated file

func DeleteBlob

func DeleteBlob(ctx context.Context, bucketURL, fileKey string) error

DeleteBlob removes a blob from a bucket

func NewBlobReader

func NewBlobReader(ctx context.Context, bucketURL, fileKey string) (io.Reader, func(), error)

NewBlobReader pulls a file from a binary storage location

func NewBlobWriter

func NewBlobWriter(ctx context.Context, bucketURL, fileKey string) (io.Writer, func(), error)

NewBlobWriter pushes a file from a local location to a binary storage location

Types

This section is empty.

Jump to

Keyboard shortcuts

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