validators

package
v0.35.0 Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2026 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewChytValidator

func NewChytValidator() *chytValidator

func NewOffshoreDataGatewaysValidator added in v0.34.0

func NewOffshoreDataGatewaysValidator() *offshoreDataGatewaysValidator

func NewRemoteDataNodesValidator added in v0.34.0

func NewRemoteDataNodesValidator() *remoteDataNodesValidator

func NewRemoteExecNodesValidator added in v0.34.0

func NewRemoteExecNodesValidator() *remoteExecNodesValidator

func NewRemoteTabletNodesValidator added in v0.34.0

func NewRemoteTabletNodesValidator() *remoteTabletNodesValidator

func NewSpytValidator

func NewSpytValidator() *spytValidator

func NewYtsaurusValidator

func NewYtsaurusValidator() *ytsaurusValidator

func ValidateVersionConstraint

func ValidateVersionConstraint(constraintStr string) *field.Error

Types

type UniqueValues added in v0.32.0

type UniqueValues[T comparable] map[T]*field.Path

func (UniqueValues[T]) Count added in v0.35.0

func (u UniqueValues[T]) Count(value ...T) int

func (UniqueValues[T]) Insert added in v0.32.0

func (u UniqueValues[T]) Insert(value T, path *field.Path) field.ErrorList

func (UniqueValues[T]) InsertAll added in v0.32.0

func (u UniqueValues[T]) InsertAll(slice []T, path *field.Path) field.ErrorList

Jump to

Keyboard shortcuts

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