debugutils

package
v0.16.0 Latest Latest
Warning

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

Go to latest
Published: May 25, 2026 License: Apache-2.0 Imports: 8 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsDebugOrHigher added in v0.16.0

func IsDebugOrHigher() bool

IsDebugOrHigher reports whether TF_LOG is set to DEBUG or TRACE (case-insensitive). Unrecognized non-empty TF_LOG values are treated as TRACE, matching terraform-plugin-sdk/v2/helper/logging.IsDebugOrHigher SDK compatibility behavior.

func IsSensitiveInSchema added in v0.16.0

func IsSensitiveInSchema() bool

IsSensitiveInSchema reports whether integration-policy variable attributes should be marked sensitive in the resource schema (masked unless debug logging or acceptance tests).

func NewDebugTransport

func NewDebugTransport(name string, transport http.RoundTripper) http.RoundTripper

func PrettyPrintJSONLines

func PrettyPrintJSONLines(b []byte) string

PrettyPrintJSONLines iterates through a []byte line-by-line, transforming any lines that are complete json into pretty-printed json.

Types

This section is empty.

Jump to

Keyboard shortcuts

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