wafrule

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 Predicates

type Predicates struct {
	// DataId: string, required
	DataId terra.StringValue `hcl:"data_id,attr" validate:"required"`
	// Negated: bool, required
	Negated terra.BoolValue `hcl:"negated,attr" validate:"required"`
	// Type: string, required
	Type terra.StringValue `hcl:"type,attr" validate:"required"`
}

type PredicatesAttributes

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

func (PredicatesAttributes) DataId

func (PredicatesAttributes) InternalRef

func (p PredicatesAttributes) InternalRef() (terra.Reference, error)

func (PredicatesAttributes) InternalTokens

func (p PredicatesAttributes) InternalTokens() (hclwrite.Tokens, error)

func (PredicatesAttributes) InternalWithRef

func (PredicatesAttributes) Negated

func (p PredicatesAttributes) Negated() terra.BoolValue

func (PredicatesAttributes) Type

type PredicatesState

type PredicatesState struct {
	DataId  string `json:"data_id"`
	Negated bool   `json:"negated"`
	Type    string `json:"type"`
}

Jump to

Keyboard shortcuts

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