artifacts

package
v1.3.1 Latest Latest
Warning

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

Go to latest
Published: Jun 11, 2026 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package artifacts implements the Phase 72c `search.artifacts` runtime-side index — a server-enforced search over the artifact store's catalog, scoped to the caller's identity triple unless the `auth.ScopeAdmin` claim is present (D-079).

Every result row carries a populated `Ref` (artifacts are by-reference by construction per D-026); `Preview` is the redacted filename / mime summary.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Searcher

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

Searcher serves the `search.artifacts` index.

func New

New constructs a Searcher.

func (*Searcher) Index

func (s *Searcher) Index() types.SearchIndex

Index implements search.Searcher.

func (*Searcher) Search

Search implements search.Searcher. The query matches against the artifact ID, Filename, MimeType, and Namespace. Facets honoured: `artifacts.mime` (exact prefix match — e.g. `image/`), `artifacts.namespace`.

Jump to

Keyboard shortcuts

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