validators

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2024 License: MPL-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 UUID

type UUID struct{}

UUID validator.String for uuid parser.

func (UUID) Description

func (u UUID) Description(ctx context.Context) string

Description satisfies the validator.String interface.

func (UUID) MarkdownDescription

func (u UUID) MarkdownDescription(ctx context.Context) string

MarkdownDescription satisfies the validator.String interface.

func (UUID) ValidateString

func (u UUID) ValidateString(ctx context.Context, req validator.StringRequest, resp *validator.StringResponse)

ValidateString Validate satisfies the validator.String interface.

type WorkflowName added in v1.0.2

type WorkflowName struct{}

func (WorkflowName) Description added in v1.0.2

func (u WorkflowName) Description(ctx context.Context) string

Description satisfies the validator.String interface.

func (WorkflowName) MarkdownDescription added in v1.0.2

func (u WorkflowName) MarkdownDescription(ctx context.Context) string

MarkdownDescription satisfies the validator.String interface.

func (WorkflowName) ValidateString added in v1.0.2

func (u WorkflowName) ValidateString(ctx context.Context, req validator.StringRequest, resp *validator.StringResponse)

ValidateString Validate satisfies the validator.String interface.

Jump to

Keyboard shortcuts

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