Back to

Package storageproto

Latest Go to latest

The latest major version is .

Published: Jul 24, 2020 | License: Apache-2.0 | Module:


func FromFileSet

func FromFileSet(
	ctx context.Context,
	fileSet *storagev1.FileSet,
	writeBucket storage.WriteBucket,
) error

FromFileSet copies the FileSet to the WriteBucket.

func ToFileSet

func ToFileSet(
	ctx context.Context,
	readBucket storage.ReadBucket,
) (*storagev1.FileSet, error)

ToFileSet copies the ReadBucket to the FileSet.

Copies done concurrently. Returns a validated FileSet.

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier