defaultaware

package
v0.16.1 Latest Latest
Warning

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

Go to latest
Published: Jul 2, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BoolAttribute

func BoolAttribute(wrapped schema.BoolAttribute) schema.Attribute

BoolAttribute creates a wrapper for schema.BoolAttribute object and generates documentation with default value.

func Int64Attribute

func Int64Attribute(wrapped schema.Int64Attribute) schema.Attribute

Int64Attribute creates a wrapper for schema.Int64Attribute object and generates documentation with default value.

func StringAttribute

func StringAttribute(wrapped schema.StringAttribute) schema.Attribute

StringAttribute creates a wrapper for schema.StringAttribute object and generates documentation with default value.

func WrapResources

func WrapResources(funcs []func() resource.Resource) []func() resource.Resource

WrapResources wraps the list of provider's resource contructors.

Later, during actual call, the resource instance is wrapped in special proxy to replace every attribute in the schema with proper wrapper from "defaultsaware" package.

Types

This section is empty.

Jump to

Keyboard shortcuts

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