defaults

package
v1.24.0 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2024 License: MPL-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EmptyListNestedObject

func EmptyListNestedObject() planmodifier.List

EmptyListNestedObject return an AttributePlanModifier that returns an empty list if the planned value is Null.

func EmptySetNestedObject

func EmptySetNestedObject() planmodifier.Set

EmptySetNestedObject return an AttributePlanModifier that returns an empty set if the planned value is Null.

func StaticListOfString

func StaticListOfString(values ...string) defaults.List

StaticListOfString returns a static list of string value default handler.

func StaticPartialObject

func StaticPartialObject(defaultVal map[string]interface{}) planmodifier.Object

StaticPartialObject return an AttributePlanModifier that sets the specified value if the planned value is Null.

func StaticSetOfString

func StaticSetOfString(values ...string) defaults.Set

StaticSetOfString returns a static set of string value default handler.

Types

This section is empty.

Jump to

Keyboard shortcuts

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