validator

package
v0.18.0 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2026 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Func

type Func func(output string, expect manifest.Expectation) Result

Func is a validation function type

type Result

type Result struct {
	Passed  bool
	Message string
}

Result represents the result of a validation

func Validate

func Validate(output string, expect manifest.Expectation) Result

Validate runs the appropriate validator for the expectation type

Jump to

Keyboard shortcuts

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