tags

package
v1.44.0 Latest Latest
Warning

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

Go to latest
Published: Feb 12, 2020 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(tagsMap map[string]interface{}) map[string]*string

func Filter

func Filter(tagsMap map[string]*string, tagNames ...string) map[string]*string

func Flatten

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

func FlattenAndSet

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

func ForceNewSchema

func ForceNewSchema() *schema.Schema

ForceNewSchema returns the Schema which should be used for Tags when changes require recreation of the resource

func Schema

func Schema() *schema.Schema

Schema returns the Schema used for Tags

func SchemaDataSource

func SchemaDataSource() *schema.Schema

SchemaDataSource returns the Schema which should be used for Tags on a Data Source

func TagValueToString

func TagValueToString(v interface{}) (string, error)

func Validate

func Validate(v interface{}, _ 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