specvalidate

package
v0.33.0 Latest Latest
Warning

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

Go to latest
Published: Sep 1, 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 Issue

type Issue struct {
	Field   string
	Message string
	Line    int
}

Issue is a single validation problem. Line is the 1-based source line of the offending content when known (0 means the whole document / unknown).

func ValidateTemplateSpec

func ValidateTemplateSpec(platform, job, volumes string) []Issue

func ValidateTemplateSpecWithNomadParser

func ValidateTemplateSpecWithNomadParser(platform, job, volumes string, parseNomadJob NomadJobParser) []Issue

func ValidateVolumeSpec

func ValidateVolumeSpec(platform, definition string) []Issue

type NomadJobParser

type NomadJobParser func(string) error

Jump to

Keyboard shortcuts

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