gcs

package
v0.3.3 Latest Latest
Warning

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

Go to latest
Published: Jun 7, 2020 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CopyToGCS

func CopyToGCS(src, gcsPath string, opts *Options) error

CopyToGCS copies a local directory to the specified GCS path

func CopyToLocal

func CopyToLocal(gcsPath, dst string, opts *Options) error

CopyToLocal copies a GCS path to the specified local directory

Types

type Options

type Options struct {
	// gsutil options
	Concurrent bool
	Recursive  bool
	NoClobber  bool

	// local options
	// AllowMissing allows a copy operation to be skipped if the source or
	// destination does not exist. This is useful for scenarios where copy
	// operations happen in a loop/channel, so a single "failure" does not block
	// the entire operation.
	AllowMissing bool
}

Jump to

Keyboard shortcuts

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