storage

package
v0.6.5 Latest Latest
Warning

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

Go to latest
Published: Dec 23, 2024 License: MPL-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package storage implements a storage for schematic data.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ErrNotFoundTag

type ErrNotFoundTag = struct{}

ErrNotFoundTag tags the errors when the schematic is not found.

type Storage

type Storage interface {
	prometheus.Collector

	Head(ctx context.Context, id string) error
	Get(ctx context.Context, id string) ([]byte, error)
	Put(ctx context.Context, id string, data []byte) error
}

Storage is the schematic storage.

Directories

Path Synopsis
Package cache implements an in-memory cache over schematic storage.
Package cache implements an in-memory cache over schematic storage.
Package registry implements a schematic storage in OCI registry.
Package registry implements a schematic storage in OCI registry.

Jump to

Keyboard shortcuts

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