wafbytematchset

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 ByteMatchTuples

type ByteMatchTuples struct {
	// PositionalConstraint: string, required
	PositionalConstraint terra.StringValue `hcl:"positional_constraint,attr" validate:"required"`
	// TargetString: string, optional
	TargetString terra.StringValue `hcl:"target_string,attr"`
	// TextTransformation: string, required
	TextTransformation terra.StringValue `hcl:"text_transformation,attr" validate:"required"`
	// FieldToMatch: required
	FieldToMatch *FieldToMatch `hcl:"field_to_match,block" validate:"required"`
}

type ByteMatchTuplesAttributes

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

func (ByteMatchTuplesAttributes) FieldToMatch

func (ByteMatchTuplesAttributes) InternalRef

func (bmt ByteMatchTuplesAttributes) InternalRef() (terra.Reference, error)

func (ByteMatchTuplesAttributes) InternalTokens

func (bmt ByteMatchTuplesAttributes) InternalTokens() (hclwrite.Tokens, error)

func (ByteMatchTuplesAttributes) InternalWithRef

func (ByteMatchTuplesAttributes) PositionalConstraint

func (bmt ByteMatchTuplesAttributes) PositionalConstraint() terra.StringValue

func (ByteMatchTuplesAttributes) TargetString

func (bmt ByteMatchTuplesAttributes) TargetString() terra.StringValue

func (ByteMatchTuplesAttributes) TextTransformation

func (bmt ByteMatchTuplesAttributes) TextTransformation() terra.StringValue

type ByteMatchTuplesState

type ByteMatchTuplesState struct {
	PositionalConstraint string              `json:"positional_constraint"`
	TargetString         string              `json:"target_string"`
	TextTransformation   string              `json:"text_transformation"`
	FieldToMatch         []FieldToMatchState `json:"field_to_match"`
}

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"`
}

Jump to

Keyboard shortcuts

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