wafsizeconstraintset

package
v0.0.0-...-964ba77 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FieldToMatch

type FieldToMatch struct {
	// Data: string, optional
	Data terra.StringValue `hcl:"data,attr"`
	// Type: string, required
	Type terra.StringValue `hcl:"type,attr" validate:"required"`
}

type FieldToMatchAttributes

type FieldToMatchAttributes struct {
	// contains filtered or unexported fields
}

func (FieldToMatchAttributes) Data

func (FieldToMatchAttributes) InternalRef

func (ftm FieldToMatchAttributes) InternalRef() (terra.Reference, error)

func (FieldToMatchAttributes) InternalTokens

func (ftm FieldToMatchAttributes) InternalTokens() (hclwrite.Tokens, error)

func (FieldToMatchAttributes) InternalWithRef

func (FieldToMatchAttributes) Type

type FieldToMatchState

type FieldToMatchState struct {
	Data string `json:"data"`
	Type string `json:"type"`
}

type SizeConstraints

type SizeConstraints struct {
	// ComparisonOperator: string, required
	ComparisonOperator terra.StringValue `hcl:"comparison_operator,attr" validate:"required"`
	// Size: number, required
	Size terra.NumberValue `hcl:"size,attr" validate:"required"`
	// TextTransformation: string, required
	TextTransformation terra.StringValue `hcl:"text_transformation,attr" validate:"required"`
	// FieldToMatch: required
	FieldToMatch *FieldToMatch `hcl:"field_to_match,block" validate:"required"`
}

type SizeConstraintsAttributes

type SizeConstraintsAttributes struct {
	// contains filtered or unexported fields
}

func (SizeConstraintsAttributes) ComparisonOperator

func (sc SizeConstraintsAttributes) ComparisonOperator() terra.StringValue

func (SizeConstraintsAttributes) FieldToMatch

func (SizeConstraintsAttributes) InternalRef

func (sc SizeConstraintsAttributes) InternalRef() (terra.Reference, error)

func (SizeConstraintsAttributes) InternalTokens

func (sc SizeConstraintsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (SizeConstraintsAttributes) InternalWithRef

func (SizeConstraintsAttributes) Size

func (SizeConstraintsAttributes) TextTransformation

func (sc SizeConstraintsAttributes) TextTransformation() terra.StringValue

type SizeConstraintsState

type SizeConstraintsState struct {
	ComparisonOperator string              `json:"comparison_operator"`
	Size               float64             `json:"size"`
	TextTransformation string              `json:"text_transformation"`
	FieldToMatch       []FieldToMatchState `json:"field_to_match"`
}

Jump to

Keyboard shortcuts

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