Versions in this module Expand all Collapse all v0 v0.3.0 Nov 27, 2026 Changes in this version + const DefaultDir + const ProcDir + var Behavior = behavior.Register(...) + type CreateInput struct + Key string + Value string + type CreateResult struct + Changed bool + Error string + Key string + type Debian struct + func NewDebianProvider(logger *slog.Logger, fs avfs.VFS, stateKV provider.FileState, ...) *Debian + func (d *Debian) Create(ctx context.Context, entry Entry) (*CreateResult, error) + func (d *Debian) Delete(ctx context.Context, key string) (*DeleteResult, error) + func (d *Debian) Get(ctx context.Context, key string) (*Entry, error) + func (d *Debian) List(ctx context.Context, prefix string) ([]Entry, error) + func (d *Debian) Update(ctx context.Context, entry Entry) (*UpdateResult, error) + func (d *Debian) WithDir(dir string) *Debian + func (d *Debian) WithFiles(files managedfile.Provider) *Debian + type DeleteInput struct + Key string + type DeleteResult struct + Changed bool + Error string + Key string + type Entry struct + Key string + Managed bool + Value string + func Get(ctx context.Context, p Provider, in GetInput) (Entry, error) + func List(ctx context.Context, p Provider, in ListInput) ([]Entry, error) + type GetInput struct + Key string + type ListInput struct + Prefix string + type MutationResult struct + Changed bool + Key string + func Create(ctx context.Context, p Provider, in CreateInput) (MutationResult, error) + func Delete(ctx context.Context, p Provider, in DeleteInput) (MutationResult, error) + func Update(ctx context.Context, p Provider, in UpdateInput) (MutationResult, error) + type Provider interface + Create func(ctx context.Context, entry Entry) (*CreateResult, error) + Delete func(ctx context.Context, key string) (*DeleteResult, error) + Get func(ctx context.Context, key string) (*Entry, error) + List func(ctx context.Context, prefix string) ([]Entry, error) + Update func(ctx context.Context, entry Entry) (*UpdateResult, error) + type Settings struct + Dir string + type UpdateInput struct + Key string + Value string + type UpdateResult struct + Changed bool + Error string + Key string