database

package
v0.0.0-...-f448fd0 Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Backend

type Backend interface {
	Type() string
	SearchCache(repoKey, key, version string, scopes []s.Scope, restoreKeys []string) (s.Cache, error)
	CreateCache(repoKey, key, version string, scopes []s.Scope, backend string) (int, error)
	AddUploadPart(repoKey string, id int, part s.CachePart) error
	ValidateUpload(repoKey string, id int, size int64) ([]s.CachePart, error)
	FinishCache(repoKey string, id int, path string) error
}

func GetBackend

func GetBackend(backend, connectionString string) (Backend, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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