gpcorevalidator

package
v0.2.8 Latest Latest
Warning

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

Go to latest
Published: Aug 23, 2024 License: MPL-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BillingPeriodValidator

type BillingPeriodValidator struct {
}

func (BillingPeriodValidator) Description

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

Description returns a plain text description of the validator's behavior, suitable for a practitioner to understand its impact.

func (BillingPeriodValidator) MarkdownDescription

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

MarkdownDescription returns a markdown formatted description of the validator's behavior, suitable for a practitioner to understand its impact.

func (BillingPeriodValidator) ValidateString

ValidateString runs the main validation logic of the validator, reading configuration data out of `req` and updating `resp` with diagnostics.

type ProjectEnvironmentValidator

type ProjectEnvironmentValidator struct {
}

func (ProjectEnvironmentValidator) Description

Description returns a plain text description of the validator's behavior, suitable for a practitioner to understand its impact.

func (ProjectEnvironmentValidator) MarkdownDescription

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

MarkdownDescription returns a markdown formatted description of the validator's behavior, suitable for a practitioner to understand its impact.

func (ProjectEnvironmentValidator) ValidateString

ValidateString runs the main validation logic of the validator, reading configuration data out of `req` and updating `resp` with diagnostics.

type UUIDListValidator

type UUIDListValidator struct {
}

func (UUIDListValidator) Description

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

Description returns a plain text description of the validator's behavior, suitable for a practitioner to understand its impact.

func (UUIDListValidator) MarkdownDescription

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

MarkdownDescription returns a markdown formatted description of the validator's behavior, suitable for a practitioner to understand its impact.

func (UUIDListValidator) ValidateList

ValidateList runs the main validation logic of the validator, reading configuration data out of `req` and updating `resp` with diagnostics.

type UUIDStringValidator

type UUIDStringValidator struct {
}

func (UUIDStringValidator) Description

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

Description returns a plain text description of the validator's behavior, suitable for a practitioner to understand its impact.

func (UUIDStringValidator) MarkdownDescription

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

MarkdownDescription returns a markdown formatted description of the validator's behavior, suitable for a practitioner to understand its impact.

func (UUIDStringValidator) ValidateString

ValidateString runs the main validation logic of the validator, reading configuration data out of `req` and updating `resp` with diagnostics.

Jump to

Keyboard shortcuts

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