Documentation ¶
Overview ¶
Package testplanmodifier contains declarative resource/schema/planmodifier implementations for unit testing.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Bool ¶
type Bool struct { // Bool interface methods DescriptionMethod func(context.Context) string MarkdownDescriptionMethod func(context.Context) string PlanModifyBoolMethod func(context.Context, planmodifier.BoolRequest, *planmodifier.BoolResponse) }
Declarative planmodifier.Bool for unit testing.
func (Bool) Description ¶
Description satisfies the planmodifier.Bool interface.
func (Bool) MarkdownDescription ¶
MarkdownDescription satisfies the planmodifier.Bool interface.
func (Bool) PlanModifyBool ¶
func (v Bool) PlanModifyBool(ctx context.Context, req planmodifier.BoolRequest, resp *planmodifier.BoolResponse)
PlanModify satisfies the planmodifier.Bool interface.
type Float64 ¶
type Float64 struct { // Float64 interface methods DescriptionMethod func(context.Context) string MarkdownDescriptionMethod func(context.Context) string PlanModifyFloat64Method func(context.Context, planmodifier.Float64Request, *planmodifier.Float64Response) }
Declarative planmodifier.Float64 for unit testing.
func (Float64) Description ¶
Description satisfies the planmodifier.Float64 interface.
func (Float64) MarkdownDescription ¶
MarkdownDescription satisfies the planmodifier.Float64 interface.
func (Float64) PlanModifyFloat64 ¶
func (v Float64) PlanModifyFloat64(ctx context.Context, req planmodifier.Float64Request, resp *planmodifier.Float64Response)
PlanModify satisfies the planmodifier.Float64 interface.
type Int64 ¶
type Int64 struct { // Int64 interface methods DescriptionMethod func(context.Context) string MarkdownDescriptionMethod func(context.Context) string PlanModifyInt64Method func(context.Context, planmodifier.Int64Request, *planmodifier.Int64Response) }
Declarative planmodifier.Int64 for unit testing.
func (Int64) Description ¶
Description satisfies the planmodifier.Int64 interface.
func (Int64) MarkdownDescription ¶
MarkdownDescription satisfies the planmodifier.Int64 interface.
func (Int64) PlanModifyInt64 ¶
func (v Int64) PlanModifyInt64(ctx context.Context, req planmodifier.Int64Request, resp *planmodifier.Int64Response)
PlanModify satisfies the planmodifier.Int64 interface.
type List ¶
type List struct { // List interface methods DescriptionMethod func(context.Context) string MarkdownDescriptionMethod func(context.Context) string PlanModifyListMethod func(context.Context, planmodifier.ListRequest, *planmodifier.ListResponse) }
Declarative planmodifier.List for unit testing.
func (List) Description ¶
Description satisfies the planmodifier.List interface.
func (List) MarkdownDescription ¶
MarkdownDescription satisfies the planmodifier.List interface.
func (List) PlanModifyList ¶
func (v List) PlanModifyList(ctx context.Context, req planmodifier.ListRequest, resp *planmodifier.ListResponse)
PlanModify satisfies the planmodifier.List interface.
type Map ¶
type Map struct { // Map interface methods DescriptionMethod func(context.Context) string MarkdownDescriptionMethod func(context.Context) string PlanModifyMapMethod func(context.Context, planmodifier.MapRequest, *planmodifier.MapResponse) }
Declarative planmodifier.Map for unit testing.
func (Map) Description ¶
Description satisfies the planmodifier.Map interface.
func (Map) MarkdownDescription ¶
MarkdownDescription satisfies the planmodifier.Map interface.
func (Map) PlanModifyMap ¶
func (v Map) PlanModifyMap(ctx context.Context, req planmodifier.MapRequest, resp *planmodifier.MapResponse)
PlanModify satisfies the planmodifier.Map interface.
type Number ¶
type Number struct { // Number interface methods DescriptionMethod func(context.Context) string MarkdownDescriptionMethod func(context.Context) string PlanModifyNumberMethod func(context.Context, planmodifier.NumberRequest, *planmodifier.NumberResponse) }
Declarative planmodifier.Number for unit testing.
func (Number) Description ¶
Description satisfies the planmodifier.Number interface.
func (Number) MarkdownDescription ¶
MarkdownDescription satisfies the planmodifier.Number interface.
func (Number) PlanModifyNumber ¶
func (v Number) PlanModifyNumber(ctx context.Context, req planmodifier.NumberRequest, resp *planmodifier.NumberResponse)
PlanModify satisfies the planmodifier.Number interface.
type Object ¶
type Object struct { // Object interface methods DescriptionMethod func(context.Context) string MarkdownDescriptionMethod func(context.Context) string PlanModifyObjectMethod func(context.Context, planmodifier.ObjectRequest, *planmodifier.ObjectResponse) }
Declarative planmodifier.Object for unit testing.
func (Object) Description ¶
Description satisfies the planmodifier.Object interface.
func (Object) MarkdownDescription ¶
MarkdownDescription satisfies the planmodifier.Object interface.
func (Object) PlanModifyObject ¶
func (v Object) PlanModifyObject(ctx context.Context, req planmodifier.ObjectRequest, resp *planmodifier.ObjectResponse)
PlanModify satisfies the planmodifier.Object interface.
type Set ¶
type Set struct { // Set interface methods DescriptionMethod func(context.Context) string MarkdownDescriptionMethod func(context.Context) string PlanModifySetMethod func(context.Context, planmodifier.SetRequest, *planmodifier.SetResponse) }
Declarative planmodifier.Set for unit testing.
func (Set) Description ¶
Description satisfies the planmodifier.Set interface.
func (Set) MarkdownDescription ¶
MarkdownDescription satisfies the planmodifier.Set interface.
func (Set) PlanModifySet ¶
func (v Set) PlanModifySet(ctx context.Context, req planmodifier.SetRequest, resp *planmodifier.SetResponse)
PlanModify satisfies the planmodifier.Set interface.
type String ¶
type String struct { // String interface methods DescriptionMethod func(context.Context) string MarkdownDescriptionMethod func(context.Context) string PlanModifyStringMethod func(context.Context, planmodifier.StringRequest, *planmodifier.StringResponse) }
Declarative planmodifier.String for unit testing.
func (String) Description ¶
Description satisfies the planmodifier.String interface.
func (String) MarkdownDescription ¶
MarkdownDescription satisfies the planmodifier.String interface.
func (String) PlanModifyString ¶
func (v String) PlanModifyString(ctx context.Context, req planmodifier.StringRequest, resp *planmodifier.StringResponse)
PlanModify satisfies the planmodifier.String interface.