system

package
v0.2.10 Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2026 License: MPL-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Components

type Components struct {
	Sources *source.Service
	Roots   *root.Service
	Records *record.Service
	Refresh *refresh.Service

	Catalogs      catalog.Reader
	Definitions   definition.Reader
	SourceRuntime source.Runtime
	// contains filtered or unexported fields
}

func Open

func Open(
	ctx context.Context,
	config Config,
) (*Components, error)

func (*Components) Close

func (c *Components) Close() error

func (*Components) HasDecoder

func (c *Components) HasDecoder(id artifactstore.DecoderID) bool

type Config

type Config struct {
	BaseDirectory     string
	EmbeddedProviders map[string]fs.FS
	AdditionalSources []source.Adapter
	Decoders          []discovery.Decoder
	Clock             artifactstore.Clock
	IDGenerator       artifactstore.IDGenerator
}

Jump to

Keyboard shortcuts

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