validators

package
v1.7.0 Latest Latest
Warning

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

Go to latest
Published: Jan 21, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CustomBranchValidator

type CustomBranchValidator struct{}

CustomBranchValidator validates that custom_branch is set when use_custom_branch is true. This validator should be attached to the custom_branch field.

func (CustomBranchValidator) Description

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

func (CustomBranchValidator) MarkdownDescription

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

func (CustomBranchValidator) ValidateString

type UseCustomBranchValidator

type UseCustomBranchValidator struct{}

UseCustomBranchValidator validates that use_custom_branch requires custom_branch to be set. This validator should be attached to the use_custom_branch field.

func (UseCustomBranchValidator) Description

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

func (UseCustomBranchValidator) MarkdownDescription

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

func (UseCustomBranchValidator) ValidateBool

Jump to

Keyboard shortcuts

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