utils

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: May 13, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CurrenDir

func CurrenDir() (string, error)

func DirExists

func DirExists(path string) bool

func EndsWithTf

func EndsWithTf(str string) bool

func GetName

func GetName(name string) string

func RandomName

func RandomName() string

func RemoveBlankLinesFromString

func RemoveBlankLinesFromString(input string) string

func StoreFile

func StoreFile(name string, contents string) error

func TerraformPath

func TerraformPath() (string, error)

func ToPtr

func ToPtr[T any](i T) *T

ToPtr converts type T to a *T as a convenience.

Types

This section is empty.

Jump to

Keyboard shortcuts

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