check

package
v0.0.0-...-abaeddd Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2026 License: Apache-2.0 Imports: 20 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package check is the whole check of a jig, offline: its shape (spec), what a test without a cluster can't do, the files it names, its kubectl blocks and external calls, its side effects, and its images. jig.Validate, jig.FromFile and the runner's import loader use it.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FromFile

func FromFile(path string) (*spec.Declaration, error)

FromFile reads the jig at path and checks it. An error lists every problem.

func Validate

func Validate(d *spec.Declaration) []error

Validate returns every problem with the jig t declares. Relative paths resolve against t.Dir. Templates are checked against KEL's functions and the jig's own.

func ValidateWith

func ValidateWith(d *spec.Declaration, funcs template.FuncMap) []error

ValidateWith is Validate for a caller that runs with its own template functions (Options.Functions): templates are checked against funcs (KEL's when nil) and the jig's own.

Types

This section is empty.

Jump to

Keyboard shortcuts

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