Documentation ¶
Index ¶
- Variables
- func Enable(fn func(context.Context, *schema.ResourceData, any) diag.Diagnostics) func(context.Context, *schema.ResourceData, any) diag.Diagnostics
- func EnableCustomizeDiff(fn func(context.Context, *schema.ResourceDiff, any) error) func(context.Context, *schema.ResourceDiff, any) error
- func EnableDS(fn func(d *schema.ResourceData, m any) error) func(*schema.ResourceData, any) error
- func EnableDSCtx(fn func(ctx context.Context, d *schema.ResourceData, m any) diag.Diagnostics) func(context.Context, *schema.ResourceData, any) diag.Diagnostics
- func EnableSchemaDiff(fn func(k, old, new string, d *schema.ResourceData) bool) func(k, old, new string, d *schema.ResourceData) bool
- func EnableSchemaSetFunc(fn func(v any) int) func(v any) int
- func SetOutput()
Constants ¶
This section is empty.
Variables ¶
View Source
var Debug = struct { Info *log.Logger Warn *log.Logger }{ Info: createDebugLogger("export.log"), Warn: createDebugLogger("warnings.log"), }
View Source
var File = log.New(odl, "", log.LstdFlags)
View Source
var Logger = hclog.New(&hclog.LoggerOptions{ IncludeLocation: false, DisableTime: true, })
Functions ¶
func Enable ¶
func Enable(fn func(context.Context, *schema.ResourceData, any) diag.Diagnostics) func(context.Context, *schema.ResourceData, any) diag.Diagnostics
Enable redirects logging into a an output file
func EnableCustomizeDiff ¶
func EnableCustomizeDiff(fn func(context.Context, *schema.ResourceDiff, any) error) func(context.Context, *schema.ResourceDiff, any) error
EnableCustomizeDiff redirects logging into a an output file
func EnableDS ¶ added in v1.29.0
func EnableDS(fn func(d *schema.ResourceData, m any) error) func(*schema.ResourceData, any) error
func EnableDSCtx ¶ added in v1.59.0
func EnableDSCtx(fn func(ctx context.Context, d *schema.ResourceData, m any) diag.Diagnostics) func(context.Context, *schema.ResourceData, any) diag.Diagnostics
func EnableSchemaDiff ¶
func EnableSchemaDiff(fn func(k, old, new string, d *schema.ResourceData) bool) func(k, old, new string, d *schema.ResourceData) bool
EnableSchemaDiff redirects logging into a an output file
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.