storage

package
v1.13.3 Latest Latest
Warning

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

Go to latest
Published: May 20, 2024 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const GCSSchema = "gs://"
View Source
const S3Schema = "s3://"

Variables

This section is empty.

Functions

func CreateGCSUpload

func CreateGCSUpload(ctx context.Context, key string) (*storage.Writer, error)

func CreateS3Upload

func CreateS3Upload(ctx context.Context, r io.ReadCloser, key string) error

func IsCloud

func IsCloud(path string) bool

func IsCloudDir

func IsCloudDir(path string) bool

func IsGCS

func IsGCS(path string) bool

func IsGCSDir

func IsGCSDir(path string) bool

func IsS3

func IsS3(path string) bool

func IsS3Dir

func IsS3Dir(path string) bool

Types

This section is empty.

Jump to

Keyboard shortcuts

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