validators

package
v1.16.0 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2025 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const ResourceLabelLimit = 50

Variables

This section is empty.

Functions

func FolderParentID

func FolderParentID() validator.String

FolderParentID returns an AttributeValidator which ensures that the value is formatted either as a UUID or matches the string "root".

func Labels added in v1.12.0

func Labels() validator.Map

Labels returns an AttributeValidator which ensures that the labels passed in are formatted correctly.

Types

This section is empty.

Jump to

Keyboard shortcuts

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