validate

package
v0.0.0-...-b6c1c4f Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2025 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 {
	// contains filtered or unexported fields
}

func BillingRef

func BillingRef() *Validator

func NameServers

func NameServers() *Validator

func NetworkID

func NetworkID() *Validator

func PrefixLengthV4

func PrefixLengthV4() *Validator

func Prefixes

func Prefixes() *Validator

func ProjectID

func ProjectID() *Validator

func ProjectName

func ProjectName() *Validator

func PublicIP

func PublicIP() *Validator

func ReserveProjectLabels

func ReserveProjectLabels() *Validator

func StringWith

func StringWith(fn func(string) error, description string) *Validator

func UUID

func UUID() *Validator

func (*Validator) Description

func (v *Validator) Description(ctx context.Context) string

func (*Validator) MarkdownDescription

func (v *Validator) MarkdownDescription(ctx context.Context) string

func (*Validator) ValidateInt64

func (v *Validator) ValidateInt64(ctx context.Context, req validator.Int64Request, resp *validator.Int64Response)

func (*Validator) ValidateList

func (v *Validator) ValidateList(ctx context.Context, req validator.ListRequest, resp *validator.ListResponse)

func (*Validator) ValidateMap

func (v *Validator) ValidateMap(ctx context.Context, req validator.MapRequest, resp *validator.MapResponse)

func (*Validator) ValidateString

func (v *Validator) ValidateString(ctx context.Context, req validator.StringRequest, resp *validator.StringResponse)

Jump to

Keyboard shortcuts

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