validator

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jun 16, 2023 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func VelaFuncMap

func VelaFuncMap() template.FuncMap

Function map for 'vela' function

Types

type ValidationRequest

type ValidationRequest struct {
	Parameters interface{}
	Template   string
	Type       string
}

type ValidationResponse

type ValidationResponse struct {
	Message  string
	Error    string `yaml:",omitempty"`
	Template string `yaml:",omitempty"`
}

func Validate

func Validate(validationRequest ValidationRequest) (validationResponse ValidationResponse)

Jump to

Keyboard shortcuts

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