validation

package
v1.109.0 Latest Latest
Warning

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

Go to latest
Published: May 9, 2024 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	EmptyItemType     = "" // when type is not set, it defaults to text
	BoolItemType      = "bool"
	FileItemType      = "file"
	TextItemType      = "text"
	LabelItemType     = "label"
	HeadingItemType   = "heading"
	PasswordItemType  = "password"
	TextAreaItemType  = "textarea"
	SelectOneItemType = "select_one"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ConfigGroupValidationError

type ConfigGroupValidationError struct {
	Name       string                      `json:"name"`
	Title      string                      `json:"title"`
	ItemErrors []ConfigItemValidationError `json:"item_errors"`
}

type ConfigItemValidationError

type ConfigItemValidationError struct {
	Name             string            `json:"name"`
	Type             string            `json:"type"`
	ValidationErrors []ValidationError `json:"validation_errors"`
}

type ValidationError

type ValidationError struct {
	Message string `json:"message"`
}

Jump to

Keyboard shortcuts

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