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