transfer

package
v0.11.18 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2023 License: MIT Imports: 20 Imported by: 0

Documentation

Index

Constants

View Source
const ForceAccessTokenRefreshInSeconds = 1800

Variables

This section is empty.

Functions

This section is empty.

Types

type CheckApp

type CheckApp struct {
	// contains filtered or unexported fields
}

func NewCheckApp

func NewCheckApp(config contracts.UploadConfig) *CheckApp

func (*CheckApp) Run

func (this *CheckApp) Run()

type DownloadApp

type DownloadApp struct {
	// contains filtered or unexported fields
}

func NewDownloadApp

func NewDownloadApp(config DownloadConfig) *DownloadApp

func (*DownloadApp) Run

func (this *DownloadApp) Run()

type DownloadConfig

type DownloadConfig struct {
	MaxRetry          int
	QuickVerification bool
	ShowProgress      bool
	GoogleCredentials gcs.Credentials
	Dependencies      contracts.DependencyListing
	// contains filtered or unexported fields
}

func ParseDownloadConfig

func ParseDownloadConfig(args []string) (config DownloadConfig, err error)

type FileWrapper

type FileWrapper struct {
	io.ReadSeeker
}

func NewFileWrapper

func NewFileWrapper(inner io.ReadSeeker) *FileWrapper

func (*FileWrapper) Close

func (this *FileWrapper) Close() error

type UploadApp

type UploadApp struct {
	// contains filtered or unexported fields
}

func NewUploadApp

func NewUploadApp(config contracts.UploadConfig) *UploadApp

func (*UploadApp) InitializeCompressor

func (this *UploadApp) InitializeCompressor(writer io.Writer)

func (*UploadApp) Run

func (this *UploadApp) Run()

Jump to

Keyboard shortcuts

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