utils

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2023 License: MPL-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetBlob

func GetBlob(d *schema.ResourceData, key string) map[string]interface{}

func GetBool

func GetBool(d *schema.ResourceData, key string) bool

func GetBoolP

func GetBoolP(d *schema.ResourceData, key string) *bool

func GetFloat64

func GetFloat64(d *schema.ResourceData, key string) float64

func GetFloat64P

func GetFloat64P(d *schema.ResourceData, key string) *float64

func GetInt

func GetInt(d *schema.ResourceData, key string) int

func GetIntP

func GetIntP(d *schema.ResourceData, key string) *int

func GetString

func GetString(d *schema.ResourceData, key string) string

func GetStringP

func GetStringP(d *schema.ResourceData, key string) *string

func Set

func Set(d *schema.ResourceData, key string, value any) error

func SetOrPanic

func SetOrPanic(d *schema.ResourceData, key string, value any)

func StructFromProps

func StructFromProps[S any](blobs any) (S, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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