utils

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Contains added in v0.0.2

func Contains(s []int, e int) bool

func Float32ToInt64 added in v0.0.4

func Float32ToInt64(f float32) int64

func FormId added in v0.0.4

func FormId(node string, name string) string

func ListContains added in v0.0.5

func ListContains(s []string, str string) bool

func LoadPlanAndState

func LoadPlanAndState(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse, plan any, state any) (any, any, error)

func OptionalToPointerBool added in v0.0.2

func OptionalToPointerBool(b bool) *bool

func OptionalToPointerString

func OptionalToPointerString(s string) *string

func PtrStringToString

func PtrStringToString(s *string) string

func UnpackId added in v0.0.4

func UnpackId(id string) (string, string, error)

func UnpackList added in v0.0.5

func UnpackList(l []string) []types.String

func UnpackListType added in v0.0.6

func UnpackListType(l []string) types.List

Types

This section is empty.

Jump to

Keyboard shortcuts

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