Help us shape the future of Go! Take the 2026 Go Developer Survey

stringplanmodifier

package
v0.97.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func StringChanged added in v0.90.0

func StringChanged(ctx context.Context, attributeName string, request planmodifier.StringRequest, response *UseStateForUnknownFuncResponse)

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

func UseStateForUnknownIf

func UseStateForUnknownIf(f UseStateForUnknownIfFunc, attributeName, description string) planmodifier.String

UseStateForUnknownIf returns a plan modifier similar to UseStateForUnknown with a conditional

Types

type CronNormalizationModifier added in v0.90.0

type CronNormalizationModifier struct{}

func (CronNormalizationModifier) Description added in v0.90.0

func (CronNormalizationModifier) MarkdownDescription added in v0.90.0

func (m CronNormalizationModifier) MarkdownDescription(_ context.Context) string

func (CronNormalizationModifier) PlanModifyString added in v0.90.0

type UseStateForUnknownFuncResponse

type UseStateForUnknownFuncResponse struct {
	UseStateForUnknown bool
	Diagnostics        diag.Diagnostics
}

type UseStateForUnknownIfFunc

UseStateForUnknownIfFunc is a conditional function used in UseStateForUnknownIf

Jump to

Keyboard shortcuts

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