helper

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Mar 18, 2024 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const CharSetHex = "012346789abcdef"

Variables

This section is empty.

Functions

func BoolOrFalse

func BoolOrFalse(b *bool) string

func CheckResourceAttributes

func CheckResourceAttributes(name string, attributes map[string]string) resource.TestCheckFunc

func Client

func Client() *client.Client

func Equals

func Equals(exp, act interface{}) error

func GetResourceID

func GetResourceID(s *terraform.State, name string) (string, error)

func ItoaOrZero

func ItoaOrZero(n *int) string

func PreCheck

func PreCheck(t *testing.T) func()

func Providers

func Providers() map[string]terraform.ResourceProvider

func RandBool

func RandBool() bool

func RandHex added in v0.4.1

func RandHex(size int) string

func RandInt

func RandInt(from, to int) int

func RandString

func RandString(size int) string

func StringOrEmpty

func StringOrEmpty(str *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