Documentation ¶
Index ¶
- func WarningBool(summary string, detail string) validator.Bool
- func WarningFloat64(summary string, detail string) validator.Float64
- func WarningInt64(summary string, detail string) validator.Int64
- func WarningList(summary string, detail string) validator.List
- func WarningMap(summary string, detail string) validator.Map
- func WarningNumber(summary string, detail string) validator.Number
- func WarningObject(summary string, detail string) validator.Object
- func WarningSet(summary string, detail string) validator.Set
- func WarningString(summary string, detail string) validator.String
- type ObjectValidator
- type WarningValidator
- func (v WarningValidator) Description(_ context.Context) string
- func (v WarningValidator) MarkdownDescription(ctx context.Context) string
- func (v WarningValidator) ValidateBool(ctx context.Context, request validator.BoolRequest, ...)
- func (v WarningValidator) ValidateFloat64(ctx context.Context, request validator.Float64Request, ...)
- func (v WarningValidator) ValidateInt64(ctx context.Context, request validator.Int64Request, ...)
- func (v WarningValidator) ValidateList(ctx context.Context, request validator.ListRequest, ...)
- func (v WarningValidator) ValidateMap(ctx context.Context, request validator.MapRequest, ...)
- func (v WarningValidator) ValidateNumber(ctx context.Context, request validator.NumberRequest, ...)
- func (v WarningValidator) ValidateObject(ctx context.Context, request validator.ObjectRequest, ...)
- func (v WarningValidator) ValidateSet(ctx context.Context, request validator.SetRequest, ...)
- func (v WarningValidator) ValidateString(ctx context.Context, request validator.StringRequest, ...)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WarningBool ¶
WarningBool returns a validator which returns a warning diagnostic.
func WarningFloat64 ¶
WarningFloat64 returns a validator which returns a warning diagnostic.
func WarningInt64 ¶
WarningInt64 returns a validator which returns a warning diagnostic.
func WarningList ¶
WarningList returns a validator which returns a warning diagnostic.
func WarningMap ¶
WarningMap returns a validator which returns a warning diagnostic.
func WarningNumber ¶
WarningNumber returns a validator which returns a warning diagnostic.
func WarningObject ¶
WarningObject returns a validator which returns a warning diagnostic.
func WarningSet ¶
WarningSet returns a validator which returns a warning diagnostic.
Types ¶
type ObjectValidator ¶
type ObjectValidator struct {
Diagnostics diag.Diagnostics
}
func (ObjectValidator) Description ¶
func (v ObjectValidator) Description(ctx context.Context) string
func (ObjectValidator) MarkdownDescription ¶
func (v ObjectValidator) MarkdownDescription(ctx context.Context) string
func (ObjectValidator) ValidateObject ¶
func (v ObjectValidator) ValidateObject(ctx context.Context, req validator.ObjectRequest, resp *validator.ObjectResponse)
type WarningValidator ¶
func (WarningValidator) Description ¶
func (v WarningValidator) Description(_ context.Context) string
func (WarningValidator) MarkdownDescription ¶
func (v WarningValidator) MarkdownDescription(ctx context.Context) string
func (WarningValidator) ValidateBool ¶
func (v WarningValidator) ValidateBool(ctx context.Context, request validator.BoolRequest, response *validator.BoolResponse)
func (WarningValidator) ValidateFloat64 ¶
func (v WarningValidator) ValidateFloat64(ctx context.Context, request validator.Float64Request, response *validator.Float64Response)
func (WarningValidator) ValidateInt64 ¶
func (v WarningValidator) ValidateInt64(ctx context.Context, request validator.Int64Request, response *validator.Int64Response)
func (WarningValidator) ValidateList ¶
func (v WarningValidator) ValidateList(ctx context.Context, request validator.ListRequest, response *validator.ListResponse)
func (WarningValidator) ValidateMap ¶
func (v WarningValidator) ValidateMap(ctx context.Context, request validator.MapRequest, response *validator.MapResponse)
func (WarningValidator) ValidateNumber ¶
func (v WarningValidator) ValidateNumber(ctx context.Context, request validator.NumberRequest, response *validator.NumberResponse)
func (WarningValidator) ValidateObject ¶
func (v WarningValidator) ValidateObject(ctx context.Context, request validator.ObjectRequest, response *validator.ObjectResponse)
func (WarningValidator) ValidateSet ¶
func (v WarningValidator) ValidateSet(ctx context.Context, request validator.SetRequest, response *validator.SetResponse)
func (WarningValidator) ValidateString ¶
func (v WarningValidator) ValidateString(ctx context.Context, request validator.StringRequest, response *validator.StringResponse)
Click to show internal directories.
Click to hide internal directories.