storage

package
v0.3.2 Latest Latest
Warning

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

Go to latest
Published: Jun 23, 2026 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrOnlineStorageNotImplemented = errors.New("online storage engine is not implemented")

Functions

This section is empty.

Types

type Diagnostics

type Diagnostics struct {
	Engine                    string `json:"engine"`
	SQLiteInitialized         bool   `json:"sqlite_initialized"`
	MetadataGraphInitialized  bool   `json:"metadata_graph_initialized"`
	ProjectGraphInitialized   bool   `json:"project_graph_initialized"`
	ProjectSearchInitialized  bool   `json:"project_search_initialized"`
	IngestionStateInitialized bool   `json:"ingestion_state_initialized"`
}

type Runtime

type Runtime struct {
	Engine                     string
	SQLite                     *sqliteplatform.DB
	MetadataGraph              ladybug.Graph
	ProjectGraph               *projectregistry.ProjectGraphRouter
	ProjectIngestionStateStore *projectingestion.SQLiteStore
	ProjectSearchStore         *projectingestion.SearchStoreRouter
	// contains filtered or unexported fields
}

func Open

func Open(ctx context.Context, cfg config.Config, registry *projectregistry.Registry) (*Runtime, error)

func (*Runtime) Close

func (runtime *Runtime) Close() error

func (*Runtime) Diagnostics

func (runtime *Runtime) Diagnostics() Diagnostics

Jump to

Keyboard shortcuts

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