diskblob

package
v0.9.7 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

Package diskblob provides a filesystem-backed blob store backend.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Enabled bool   `` /* 137-byte string literal not displayed */
	RootDir string `` /* 141-byte string literal not displayed */
}

Config controls the filesystem-backed blob store backend.

type Plugin

type Plugin struct {
	plugin.BasePlugin[*Config]
}

Plugin is the filesystem-backed blob store backend.

func (*Plugin) NewBlobStore

func (p *Plugin) NewBlobStore(_ context.Context, appCtx *plugin.AppContext) (plugin.BlobStore, error)

NewBlobStore returns a new filesystem-backed blob store.

func (*Plugin) NewBlobStoreWithOptions

func (p *Plugin) NewBlobStoreWithOptions(_ context.Context, appCtx *plugin.AppContext, opts plugin.BlobStoreOptions) (plugin.BlobStore, error)

NewBlobStoreWithOptions returns a new filesystem-backed blob store with optional overrides.

type Store

type Store = fsstore.Store

Store is a filesystem-backed blob store.

func NewStore

func NewStore(rootDir string) *Store

NewStore constructs a filesystem-backed blob store rooted at rootDir.

Directories

Path Synopsis
internal

Jump to

Keyboard shortcuts

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