tags

package
v0.69.0 Latest Latest
Warning

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

Go to latest
Published: May 8, 2024 License: MPL-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Expand

func Expand(input map[string]interface{}) *map[string]string

Expand transforms the input Tags to a `*map[string]string`

func Flatten

func Flatten(input *map[string]string) map[string]interface{}

Flatten transforms the Tags specified via `input` into a map[string]interface{} for compatibility with the Schema.

func FlattenAndSet added in v0.21.0

func FlattenAndSet(d *schema.ResourceData, input *map[string]string) error

FlattenAndSet first Flatten's the Tags and then sets the flattened value into the `tags` field in the State.

func Validate

func Validate(v interface{}, _ string) (warnings []string, errors []error)

func ValidateHasLowerCaseKeys

func ValidateHasLowerCaseKeys(i interface{}, k string) (warnings []string, errors []error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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