validators

package
v0.0.0-...-8b61078 Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2022 License: MPL-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type StringInSliceValidator

type StringInSliceValidator []string

func (StringInSliceValidator) Description

func (v StringInSliceValidator) Description(ctx context.Context) string

func (StringInSliceValidator) MarkdownDescription

func (v StringInSliceValidator) MarkdownDescription(ctx context.Context) string

func (StringInSliceValidator) Validate

type StringMatchesRegexpValidator

type StringMatchesRegexpValidator struct {
	Regexp *regexp.Regexp
}

func (StringMatchesRegexpValidator) Description

func (StringMatchesRegexpValidator) MarkdownDescription

func (v StringMatchesRegexpValidator) MarkdownDescription(ctx context.Context) string

func (StringMatchesRegexpValidator) Validate

Jump to

Keyboard shortcuts

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