Help us shape the future of Go! Take the 2026 Go Developer Survey

resourceutil

package
v1.70.2 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2026 License: MPL-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IDStringValue

func IDStringValue(value int64) types.String

func LabelsMapValueFrom

func LabelsMapValueFrom(ctx context.Context, in map[string]string) (types.Map, diag.Diagnostics)

LabelsMapValueFrom prepare the labels from the API to be assigned into the resource model.

func LabelsSchema

func LabelsSchema() schema.MapAttribute

LabelsSchema returns a map attribute schema with validation for the labels field shared by multiple resources.

func ParseID

func ParseID(value types.String) (int64, diag.Diagnostics)

Types

This section is empty.

Jump to

Keyboard shortcuts

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