storage

package
v0.1.21 Latest Latest
Warning

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

Go to latest
Published: Sep 28, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

Variables

This section is empty.

Functions

func Use

func Use(opts ...UseOption) runtime.Capability

Types

type Config

type Config = corestorage.Config

func DefaultConfig

func DefaultConfig() Config

type ConfigLoader

type ConfigLoader func(app *runtime.App) (Config, error)

type FileSystem

type FileSystem = corestorage.FileSystem

type Manager

type Manager = corestorage.Manager

func From

func From(app *runtime.App) *Manager

func FromDefault

func FromDefault() (*Manager, error)

type Policy

type Policy = corestorage.Policy

type StoreConfig

type StoreConfig = corestorage.StoreConfig

type UseOption

type UseOption func(*useOptions)

func WithConfig

func WithConfig(cfg Config) UseOption

func WithConfigLoader

func WithConfigLoader(loader ConfigLoader) UseOption

func WithDependencies

func WithDependencies(deps ...runtime.Dependency) UseOption

func WithInternal

func WithInternal() UseOption

func WithManager

func WithManager(manager *Manager) UseOption

Jump to

Keyboard shortcuts

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