tag

package
v6.3.0 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2023 License: ISC Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var TagSchema = schema.Schema{
	Type:     schema.TypeSet,
	Optional: true,
	Elem: &schema.Resource{
		Schema: map[string]*schema.Schema{
			"name": {
				Type:        schema.TypeString,
				Required:    true,
				Description: "Name of the existing tag.",
			},
			"slug": {
				Type:        schema.TypeString,
				Required:    true,
				Description: "Slug of the existing tag.",
			},
		},
	},
	Description: "Existing tag to associate to this resource.",
}

Functions

func ConvertNestedTagsToTags

func ConvertNestedTagsToTags(tags []*models.NestedTag) []map[string]string

func ConvertTagsToNestedTags

func ConvertTagsToNestedTags(tags []interface{}) []*models.NestedTag

Types

This section is empty.

Jump to

Keyboard shortcuts

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