filtertest

package
v0.7.3 Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2026 License: AGPL-3.0 Imports: 2 Imported by: 0

Documentation

Overview

Package filtertest supplies in-memory relation fixtures for selection tests.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MapLister

MapLister supplies immutable objects and discovery productions for filter fixtures.

func EmptyLister

func EmptyLister() MapLister

EmptyLister returns an empty object fixture.

func (MapLister) GetArtifact

GetArtifact returns no acquired artifact for map-only fixtures.

func (MapLister) GetDeclaration

func (m MapLister) GetDeclaration(id manifest.NamedResource) manifest.BaseManifest

GetDeclaration returns the statically admitted fixture manifest.

func (MapLister) GetEmission

GetEmission returns no accepted fixture output.

func (MapLister) GetObject

GetObject returns the manifest stored under id, or nil if absent.

func (MapLister) GetStatus

GetStatus returns no assessment for map-only fixtures.

func (MapLister) IncomingProductions

func (m MapLister) IncomingProductions(child store.Child, _ *manifest.DiscoveryIndex) []manifest.Production

IncomingProductions returns only the contribution evidence supplied by the fixture.

func (MapLister) ListObjects

func (m MapLister) ListObjects(group, kind string) []manifest.BaseManifest

ListObjects returns fixture objects of the exact group and kind.

func (MapLister) Lookup

Lookup returns the fixture object and its declaration roles.

func (MapLister) Objects

func (m MapLister) Objects() []manifest.BaseManifest

Objects returns the complete unordered fixture inventory.

func (MapLister) Productions

Productions exposes frozen fixture evidence without runtime contributions.

func (MapLister) ReferenceFacts

ReferenceFacts exposes map-only data without supplied inputs.

Jump to

Keyboard shortcuts

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