attributeutils

package
v0.5.1 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const MustJSONObject = mustJSONObject(false)

MustJSONObject is a validator that will validate that a string is JSON object (e.g `{"x": "y"}`).

View Source
const NonEmptyString = nonEmptyString(false)

NonEmptyString is a validator that will validate that a string is not empty.

View Source
const SuppressEquivalentJSON = suppressEquivalentJSON(false)

SuppressEquivalentJSON Will modify the plan to avoid changes when 2 json are lexically different but semantically equivalent (e.g map keys order, json format...).

Variables

This section is empty.

Functions

func DefaultValue

func DefaultValue(val attr.Value) tfsdk.AttributePlanModifier

DefaultValue sets the provided default value if the value is null.

Types

This section is empty.

Jump to

Keyboard shortcuts

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