utils

package
v1.10.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Bool

func Bool(input bool) *bool

func ErrorMismatch

func ErrorMismatch(key, expected, actual string) error

func ErrorNotMatchAny

func ErrorNotMatchAny(key string) error

func ErrorNotMatchAnyValues

func ErrorNotMatchAnyValues(key string, value string, options []string) error

func ErrorShouldDefine

func ErrorShouldDefine(key string) error

func ErrorShouldNotDefine

func ErrorShouldNotDefine(key string, options []string) error

func ErrorShouldNotDefineReadOnly

func ErrorShouldNotDefineReadOnly(key string) error

func Float

func Float(input float64) *float64

func GetId

func GetId(resource interface{}) string

func GetResourceType

func GetResourceType(id string) string

func Int

func Int(input int) *int

func Int32

func Int32(input int32) *int32

func Int64

func Int64(input int64) *int64

func Range

func Range(input hcl.Range) *hcl.Range

func String

func String(input string) *string

Types

This section is empty.

Jump to

Keyboard shortcuts

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