gcs

package
v0.0.0-...-f0247fa Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package gcs contains logic related to Google Cloud Storage.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GCS

type GCS struct {
	Timeout    time.Duration
	Retries    int
	Delay      time.Duration
	GcsService services.GcsService
}

func (*GCS) Download

func (s *GCS) Download(ctx context.Context, src, dst string, recursive bool) error

Download copies file(s) from GCS. <dst> should be a directory, not a path to a file.

func (*GCS) Upload

func (s *GCS) Upload(ctx context.Context, src, dst string) error

Upload copies file(s) to GCS.

Jump to

Keyboard shortcuts

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