accessanalyzerarchiverule

package
v0.0.0-...-c2cc54e Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2023 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 Filter

type Filter struct {
	// Contains: list of string, optional
	Contains terra.ListValue[terra.StringValue] `hcl:"contains,attr"`
	// Criteria: string, required
	Criteria terra.StringValue `hcl:"criteria,attr" validate:"required"`
	// Eq: list of string, optional
	Eq terra.ListValue[terra.StringValue] `hcl:"eq,attr"`
	// Exists: string, optional
	Exists terra.StringValue `hcl:"exists,attr"`
	// Neq: list of string, optional
	Neq terra.ListValue[terra.StringValue] `hcl:"neq,attr"`
}

type FilterAttributes

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

func (FilterAttributes) Contains

func (FilterAttributes) Criteria

func (f FilterAttributes) Criteria() terra.StringValue

func (FilterAttributes) Eq

func (FilterAttributes) Exists

func (f FilterAttributes) Exists() terra.StringValue

func (FilterAttributes) InternalRef

func (f FilterAttributes) InternalRef() (terra.Reference, error)

func (FilterAttributes) InternalTokens

func (f FilterAttributes) InternalTokens() (hclwrite.Tokens, error)

func (FilterAttributes) InternalWithRef

func (f FilterAttributes) InternalWithRef(ref terra.Reference) FilterAttributes

func (FilterAttributes) Neq

type FilterState

type FilterState struct {
	Contains []string `json:"contains"`
	Criteria string   `json:"criteria"`
	Eq       []string `json:"eq"`
	Exists   string   `json:"exists"`
	Neq      []string `json:"neq"`
}

Jump to

Keyboard shortcuts

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