validation

package
v0.27.0-beta1 Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Validator added in v0.25.0

type Validator struct {
	Localizer localize.Localizer
}

Validator is a type for validating service account configuration values

func (*Validator) ValidateDescription added in v0.25.0

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

ValidateDescription validates the service account description text

func (*Validator) ValidateName added in v0.25.0

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

func (*Validator) ValidateUUID added in v0.25.0

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