listplanmodifier

package
v0.104.0 Latest Latest
Warning

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

Go to latest
Published: Jul 16, 2026 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SuppressNullEmptyList

func SuppressNullEmptyList() planmodifier.List

func UseStateForUnknownIf added in v0.102.0

func UseStateForUnknownIf(f UseStateForUnknownIfFunc, description string) planmodifier.List

UseStateForUnknownIf returns a plan modifier similar to UseStateForUnknown with a conditional

Types

type UseStateForUnknownFuncResponse added in v0.102.0

type UseStateForUnknownFuncResponse struct {
	UseStateForUnknown bool
	Diagnostics        diag.Diagnostics
}

type UseStateForUnknownIfFunc added in v0.102.0

type UseStateForUnknownIfFunc func(context.Context, planmodifier.ListRequest, *UseStateForUnknownFuncResponse)

UseStateForUnknownIfFunc is a conditional function used in UseStateForUnknownIf

func ListChanged added in v0.102.0

func ListChanged(attributePath path.Path) UseStateForUnknownIfFunc

ListChanged sets UseStateForUnkown to true if the attribute's planned value matches the current state

Jump to

Keyboard shortcuts

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