type

StorageFactory

type StorageFactory func(context.Context) (storage.Backend, error)

Lazy lifecycle-owned upload-storage constructor.

Source core/execute.go:41

@param ctx
The server lifecycle context, cancelled during shutdown.
@returns
One opened backend owned by Execute, or a startup error.

This is runtime infrastructure, not a plugin. Execute closes closable storage before the document store.

Related types

  • Backend

    Store, open, list, and delete upload objects.