clients

package
v0.0.0-...-4e77aba Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2019 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type StorageClient

type StorageClient interface {
	Download(directory, path string) (fileName string, err error)
	Upload(file, path string) error
}

StorageClient interface for all storage clients

func GetClient

func GetClient(provider *config.StorageProvider) StorageClient

GetClient factory function to get the appropiate storage client

Jump to

Keyboard shortcuts

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