guard

package
v0.0.21 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2026 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckBoundedReaderSource

func CheckBoundedReaderSource(path string, source []byte) []string

CheckBoundedReaderSource rejects direct persistence access from lifecycle production-path tests. acceptance.SnapshotFile remains the single explicit whole-store inspection boundary.

func CheckTimeoutSource

func CheckTimeoutSource(path string, source []byte) []string

CheckTimeoutSource rejects the former independent timeout definitions. The only allowed duration construction site is internal/timeouts/profile.go.

func ModelDirectoryFromGuardPackage

func ModelDirectoryFromGuardPackage(guardDir string) string

func ValidateKnownTimeoutProfiles

func ValidateKnownTimeoutProfiles() error

func ValidateModelDirectory

func ValidateModelDirectory(dir string) error

Types

type JournalClass

type JournalClass uint8
const (
	ImmutableSnapshot JournalClass = iota + 1
	ImmutableFact
	DerivedProjection
	BuildInput
	NonJournalValue
)

Jump to

Keyboard shortcuts

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