schemareg

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2025 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Overview

Package schemareg provides a registry for Schemas.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddDefaultSchema

func AddDefaultSchema(name blobcache.SchemaName, constructor schema.Constructor)

func DefaultRoot

func DefaultRoot() blobcache.VolumeSpec

DefaultRoot returns the default root volume spec. It uses the jsonns schema and a 2MB byte max size.

func DefaultSchemas

func DefaultSchemas() map[blobcache.SchemaName]schema.Constructor

func Factory

func Factory(spec blobcache.SchemaSpec) (schema.Schema, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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