Documentation
¶
Overview ¶
Package storage implements the functions, types, and interfaces for the module.
Package storage implements the functions, types, and interfaces for the module.
Index ¶
Constants ¶
View Source
const ( CacheModule = "storage.cache" ErrCacheConfigNil = errors.String("cache: config is nil") )
View Source
const (
ErrDatabaseConfigNil = errors.String("database: config is nil")
)
View Source
const ErrUnknownFileMetaType = errors.String("storage: unknown file meta type")
View Source
const ProviderModule = "storage.provider"
Variables ¶
This section is empty.
Functions ¶
func FromFileMeta ¶ added in v0.2.5
func New ¶ added in v0.2.6
func New(cfg *storagev1.Cache) (storageiface.Cache, error)
New creates a new cache instance based on the provided configuration.
func NewProvider ¶ added in v0.2.6
func NewProvider(cfg *storagev1.Storage) (storageiface.Provider, error)
NewProvider creates a new storage provider based on the given configuration.
Types ¶
This section is empty.
Directories
¶
| Path | Synopsis |
|---|---|
|
meta
Package meta implements the functions, types, and interfaces for the module.
|
Package meta implements the functions, types, and interfaces for the module. |
|
meta/v1
Package metav1 implements the functions, types, and interfaces for the module.
|
Package metav1 implements the functions, types, and interfaces for the module. |
|
meta/v2
Package metav2 implements the functions, types, and interfaces for the module.
|
Package metav2 implements the functions, types, and interfaces for the module. |
Click to show internal directories.
Click to hide internal directories.