cloudstorage

package
v0.0.0-...-ec05587 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2021 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Overview

Provides functionalities to use GCP Cloud Storage as remote model store

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Storage

type Storage interface {
	// Downloads the model based on the full path provided
	// in the `name` parameter.
	//
	// It returns the path, where the models lives. In case
	// the model was not present, it returns an storage.ErrObjNotFound.
	DownloadModel(ctx context.Context, name, modelPath string) (string, error)
}

func NewCloudStorageService

func NewCloudStorageService(ctx context.Context, bucketName string) Storage

Jump to

Keyboard shortcuts

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