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
Click to show internal directories.
Click to hide internal directories.