gcs

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: May 15, 2023 License: Apache-2.0 Imports: 16 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetMetrics added in v0.3.0

func GetMetrics(ctx context.Context)

func NewGsStrategy

func NewGsStrategy(ctx context.Context) (geocubeStorage.Strategy, error)

func Parse

func Parse(gsUri string) (bucket, object string, err error)

Parse takes in a string in the form gs://bucket/path/to/object or bucket/path/to/object or /bucket/path/to/object and returns the bucket and object strings as usable by the cloud.google.com/storage Client

Types

type Writer

type Writer interface {
	io.Writer
}

Jump to

Keyboard shortcuts

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