pipeline

package
v0.0.9 Latest Latest
Warning

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

Go to latest
Published: Jul 31, 2026 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LoadResult

type LoadResult struct {
	// Artifacts is the merged set of all Gemara artifacts loaded
	// from configured sources.
	Artifacts *requirement.ArtifactSet

	// Resolved maps policy IDs to their fully resolved policies.
	Resolved map[string]*requirement.ResolvedPolicy
}

LoadResult holds the artifacts and resolved policies produced by LoadAndResolve.

func LoadAndResolve

func LoadAndResolve(
	ctx context.Context,
	sources []config.GemaraSourceEntry,
	cacheDir string,
) (*LoadResult, error)

LoadAndResolve loads Gemara artifacts from all configured sources, merges them into a single ArtifactSet, and resolves all policies against the merged set.

Jump to

Keyboard shortcuts

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