embedded

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: 15 Imported by: 0

Documentation

Index

Constants

View Source
const Kind artifactstore.SourceKind = "embedded-directory"

Variables

This section is empty.

Functions

This section is empty.

Types

type Adapter

type Adapter struct {
	// contains filtered or unexported fields
}

func New

func New(providers map[string]fs.FS) (*Adapter, error)

func (*Adapter) Kind

func (*Adapter) NormalizeConfig

func (a *Adapter) NormalizeConfig(
	ctx context.Context,
	raw json.RawMessage,
) (json.RawMessage, error)

func (*Adapter) Open

func (a *Adapter) Open(
	ctx context.Context,
	value source.Source,
) (source.Snapshot, error)

type Config

type Config struct {
	ProviderKey string                `json:"providerKey"`
	Root        artifactstore.Locator `json:"root"`
}

Jump to

Keyboard shortcuts

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