Documentation ¶
Index ¶
Constants ¶
View Source
const ( MajorMinorVersionRegex = `^\d+\.\d+?$` FullVersionRegex = `^\d+\.\d+.\d+?$` )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ValidationFn ¶
type ValidationFn func(context.Context, validator.StringRequest, *validator.StringResponse)
type Validator ¶
type Validator struct {
// contains filtered or unexported fields
}
func MinorVersionNumber ¶
func MinorVersionNumber() *Validator
func NoSeparator ¶
func NoSeparator() *Validator
func NonLegacyProjectRole ¶ added in v0.26.0
func NonLegacyProjectRole() *Validator
func RFC3339SecondsOnly ¶ added in v0.4.0
func RFC3339SecondsOnly() *Validator
func VersionNumber ¶ added in v0.18.0
func VersionNumber() *Validator
func (*Validator) MarkdownDescription ¶
func (*Validator) ValidateString ¶
func (v *Validator) ValidateString(ctx context.Context, req validator.StringRequest, resp *validator.StringResponse)
Click to show internal directories.
Click to hide internal directories.