Documentation ¶
Overview ¶
Package planmodifiers contains plan modifiers for testing.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TestAttrDefaultValueModifier ¶
type TestAttrDefaultValueModifier struct{}
func (TestAttrDefaultValueModifier) Description ¶
func (t TestAttrDefaultValueModifier) Description(ctx context.Context) string
func (TestAttrDefaultValueModifier) MarkdownDescription ¶
func (t TestAttrDefaultValueModifier) MarkdownDescription(ctx context.Context) string
func (TestAttrDefaultValueModifier) Modify ¶
func (t TestAttrDefaultValueModifier) Modify(ctx context.Context, req tfsdk.ModifyAttributePlanRequest, resp *tfsdk.ModifyAttributePlanResponse)
type TestAttrPlanPrivateModifierGet ¶ added in v0.11.0
type TestAttrPlanPrivateModifierGet struct{}
func (TestAttrPlanPrivateModifierGet) Description ¶ added in v0.11.0
func (t TestAttrPlanPrivateModifierGet) Description(ctx context.Context) string
func (TestAttrPlanPrivateModifierGet) MarkdownDescription ¶ added in v0.11.0
func (t TestAttrPlanPrivateModifierGet) MarkdownDescription(ctx context.Context) string
func (TestAttrPlanPrivateModifierGet) Modify ¶ added in v0.11.0
func (t TestAttrPlanPrivateModifierGet) Modify(ctx context.Context, req tfsdk.ModifyAttributePlanRequest, resp *tfsdk.ModifyAttributePlanResponse)
type TestAttrPlanPrivateModifierSet ¶ added in v0.11.0
type TestAttrPlanPrivateModifierSet struct{}
func (TestAttrPlanPrivateModifierSet) Description ¶ added in v0.11.0
func (t TestAttrPlanPrivateModifierSet) Description(ctx context.Context) string
func (TestAttrPlanPrivateModifierSet) MarkdownDescription ¶ added in v0.11.0
func (t TestAttrPlanPrivateModifierSet) MarkdownDescription(ctx context.Context) string
func (TestAttrPlanPrivateModifierSet) Modify ¶ added in v0.11.0
func (t TestAttrPlanPrivateModifierSet) Modify(ctx context.Context, req tfsdk.ModifyAttributePlanRequest, resp *tfsdk.ModifyAttributePlanResponse)
type TestAttrPlanValueModifierOne ¶
type TestAttrPlanValueModifierOne struct{}
func (TestAttrPlanValueModifierOne) Description ¶
func (t TestAttrPlanValueModifierOne) Description(ctx context.Context) string
func (TestAttrPlanValueModifierOne) MarkdownDescription ¶
func (t TestAttrPlanValueModifierOne) MarkdownDescription(ctx context.Context) string
func (TestAttrPlanValueModifierOne) Modify ¶
func (t TestAttrPlanValueModifierOne) Modify(ctx context.Context, req tfsdk.ModifyAttributePlanRequest, resp *tfsdk.ModifyAttributePlanResponse)
type TestAttrPlanValueModifierTwo ¶
type TestAttrPlanValueModifierTwo struct{}
func (TestAttrPlanValueModifierTwo) Description ¶
func (t TestAttrPlanValueModifierTwo) Description(ctx context.Context) string
func (TestAttrPlanValueModifierTwo) MarkdownDescription ¶
func (t TestAttrPlanValueModifierTwo) MarkdownDescription(ctx context.Context) string
func (TestAttrPlanValueModifierTwo) Modify ¶
func (t TestAttrPlanValueModifierTwo) Modify(ctx context.Context, req tfsdk.ModifyAttributePlanRequest, resp *tfsdk.ModifyAttributePlanResponse)
type TestErrorDiagModifier ¶
type TestErrorDiagModifier struct{}
func (TestErrorDiagModifier) Description ¶
func (t TestErrorDiagModifier) Description(ctx context.Context) string
func (TestErrorDiagModifier) MarkdownDescription ¶
func (t TestErrorDiagModifier) MarkdownDescription(ctx context.Context) string
func (TestErrorDiagModifier) Modify ¶
func (t TestErrorDiagModifier) Modify(ctx context.Context, req tfsdk.ModifyAttributePlanRequest, resp *tfsdk.ModifyAttributePlanResponse)
type TestRequiresReplaceFalseModifier ¶
type TestRequiresReplaceFalseModifier struct{}
testRequiresReplaceModifier is an AttributePlanModifier that sets RequiresReplace on the attribute.
func (TestRequiresReplaceFalseModifier) Description ¶
func (m TestRequiresReplaceFalseModifier) Description(ctx context.Context) string
Description returns a human-readable description of the plan modifier.
func (TestRequiresReplaceFalseModifier) MarkdownDescription ¶
func (m TestRequiresReplaceFalseModifier) MarkdownDescription(ctx context.Context) string
MarkdownDescription returns a markdown description of the plan modifier.
func (TestRequiresReplaceFalseModifier) Modify ¶
func (m TestRequiresReplaceFalseModifier) Modify(ctx context.Context, req tfsdk.ModifyAttributePlanRequest, resp *tfsdk.ModifyAttributePlanResponse)
Modify sets RequiresReplace on the response to true.
type TestWarningDiagModifier ¶
type TestWarningDiagModifier struct{}
func (TestWarningDiagModifier) Description ¶
func (t TestWarningDiagModifier) Description(ctx context.Context) string
func (TestWarningDiagModifier) MarkdownDescription ¶
func (t TestWarningDiagModifier) MarkdownDescription(ctx context.Context) string
func (TestWarningDiagModifier) Modify ¶
func (t TestWarningDiagModifier) Modify(ctx context.Context, req tfsdk.ModifyAttributePlanRequest, resp *tfsdk.ModifyAttributePlanResponse)
Click to show internal directories.
Click to hide internal directories.