validators

package
v0.11.18 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func StringIsAlertingDurationSDKV2

func StringIsAlertingDurationSDKV2() schema.SchemaValidateFunc

Avoid lint error on deprecated SchemaValidateFunc usage.

func StringMatchesAlertingDurationRegex

func StringMatchesAlertingDurationRegex(s string) (matched bool, err error)

func StringMatchesISO8601Regex

func StringMatchesISO8601Regex(s string) (matched bool, err error)

func StringMatchesIntervalFrequencyRegex

func StringMatchesIntervalFrequencyRegex(s string) (matched bool, err error)

func StringMatchesOnWeekDayRegex

func StringMatchesOnWeekDayRegex(s string) (matched bool, err error)

Types

type StringIsAlertingDuration

type StringIsAlertingDuration struct{}

func (StringIsAlertingDuration) Description

func (StringIsAlertingDuration) MarkdownDescription

func (s StringIsAlertingDuration) MarkdownDescription(ctx context.Context) string

func (StringIsAlertingDuration) ValidateString

type StringIsISO8601

type StringIsISO8601 struct{}

func (StringIsISO8601) Description

func (s StringIsISO8601) Description(_ context.Context) string

func (StringIsISO8601) MarkdownDescription

func (s StringIsISO8601) MarkdownDescription(ctx context.Context) string

func (StringIsISO8601) ValidateString

type StringIsMaintenanceWindowIntervalFrequency

type StringIsMaintenanceWindowIntervalFrequency struct{}

func (StringIsMaintenanceWindowIntervalFrequency) Description

func (StringIsMaintenanceWindowIntervalFrequency) MarkdownDescription

func (StringIsMaintenanceWindowIntervalFrequency) ValidateString

type StringIsMaintenanceWindowOnWeekDay

type StringIsMaintenanceWindowOnWeekDay struct{}

func (StringIsMaintenanceWindowOnWeekDay) Description

func (StringIsMaintenanceWindowOnWeekDay) MarkdownDescription

func (s StringIsMaintenanceWindowOnWeekDay) MarkdownDescription(ctx context.Context) string

func (StringIsMaintenanceWindowOnWeekDay) ValidateString

Jump to

Keyboard shortcuts

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