Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AssertModifyPlanSpecRevision ¶
func AssertModifyPlanSpecRevision(t *testing.T, r SpecRevResource)
func AssertModifyPlanSpecRevisionWithAttr ¶ added in v0.8.0
func AssertModifyPlanSpecRevisionWithAttr(t *testing.T, r SpecRevResource, mutableAttr string)
mutableAttr must be an optional string attribute of r's schema; it is what the two plans differ on, so a resource without "custom_domain" can pick its own.
Types ¶
type SpecRevResource ¶
type SpecRevResource interface {
Schema(context.Context, resource.SchemaRequest, *resource.SchemaResponse)
ModifyPlan(context.Context, resource.ModifyPlanRequest, *resource.ModifyPlanResponse)
}
Click to show internal directories.
Click to hide internal directories.