Versions in this module Expand all Collapse all v0 v0.2.19 Mar 17, 2026 Changes in this version + type Cache interface + Clear func(ctx context.Context) error + Close func(ctx context.Context) error + Delete func(ctx context.Context, key string) error + Exists func(ctx context.Context, key string) (bool, error) + Get func(ctx context.Context, key string) (string, error) + GetAndDelete func(ctx context.Context, key string) (string, error) + Set func(ctx context.Context, key string, value string, exp ...time.Duration) error + type CacheBuilder interface + NewCache func(cfg *cachev1.CacheConfig) (Cache, error) + type Database interface + Close func() error + DB func() *sql.DB + Dialect func() string + Name func() string + type DatabaseBuilder interface + New func(cfg *databasev1.DatabaseConfig) (Database, error) + type ListOptions struct + Prefix string + Recursive bool + type ObjectInfo struct + Metadata map[string]interface{} + ModTime time.Time + Path string + Size int64 + type ObjectStore interface + Delete func(ctx context.Context, path string) error + Get func(ctx context.Context, path string) (io.ReadCloser, error) + List func(ctx context.Context, opts ListOptions) ([]*ObjectInfo, error) + Put func(ctx context.Context, path string, data io.Reader, size int64) (*ObjectInfo, error) + Stat func(ctx context.Context, path string) (*ObjectInfo, error) + type ObjectStoreBuilder interface + New func(cfg *ossv1.ObjectStoreConfig) (ObjectStore, error)