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.
Click to show internal directories.
Click to hide internal directories.