predicate

package
v1.30.7 Latest Latest
Warning

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

Go to latest
Published: Dec 8, 2025 License: Apache-2.0 Imports: 1 Imported by: 37

Documentation

Index

Constants

This section is empty.

Variables

View Source
var NoClass = Ignore("class", "rclass")
View Source
var NoPassword = Ignore("class", "rclass", "password")
View Source
var True = func(hcl string) bool {
	return true
}

Functions

This section is empty.

Types

type HclPredicate

type HclPredicate func(hcl string) bool

func All

func All(predicates ...HclPredicate) HclPredicate

func Any

func Any(predicates ...HclPredicate) HclPredicate

func Ignore

func Ignore(names ...string) HclPredicate

func SchemaHasKey

func SchemaHasKey(skeema map[string]*schema.Schema) HclPredicate

Jump to

Keyboard shortcuts

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