validation

package
v0.50.0-beta1 Latest Latest
Warning

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

Go to latest
Published: Aug 22, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Validator

type Validator struct {
	Localizer localize.Localizer
}

Validator is a type for validating service account configuration values

func (*Validator) ValidateShortDescription

func (v *Validator) ValidateShortDescription(val interface{}) error

ValidateShortDescription validates the short description value

func (*Validator) ValidateUUID

func (v *Validator) ValidateUUID(val interface{}) error

ValidateUUID validates if ID is a valid UUID

Jump to

Keyboard shortcuts

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