diag_test

package
v0.3.0-rc.0 Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsError

func IsError(diag *hcl.Diagnostic) bool

func IsWarning

func IsWarning(diag *hcl.Diagnostic) bool

func MatchBiject

func MatchBiject(diags diagnostics.Diag, asserts [][]Assert) bool

Types

type Assert

type Assert func(diag *hcl.Diagnostic) bool

func DetailContains

func DetailContains(substrs ...string) Assert

func SummaryContains

func SummaryContains(substrs ...string) Assert

Jump to

Keyboard shortcuts

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