validators

package
v0.1.18 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2024 License: MPL-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MutualExclusiveValidator

type MutualExclusiveValidator struct {
	OtherKey path.Path
}

MutualExclusiveValidator implements the validator.Int64 interface

func NewMutualExclusiveValidator

func NewMutualExclusiveValidator(otherKey path.Path) MutualExclusiveValidator

NewMutualExclusiveValidator creates a new MutualExclusiveValidator

func (MutualExclusiveValidator) Description

func (v MutualExclusiveValidator) Description(ctx context.Context) string

func (MutualExclusiveValidator) MarkdownDescription

func (v MutualExclusiveValidator) MarkdownDescription(ctx context.Context) string

func (MutualExclusiveValidator) ValidateInt64

ValidateInt64 performs the validation for mutual exclusivity

Jump to

Keyboard shortcuts

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