tag2name

package
v0.0.0-...-6ef1471 Latest Latest
Warning

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

Go to latest
Published: Aug 23, 2023 License: GPL-2.0 Imports: 1 Imported by: 0

Documentation

Overview

Package tag2name contains a helper which will retrieve the name of a "thing", by examining the values of each tag.

An AWS resource may contain numerous tags, but the name of the thing will be retrieved from the tag named "Name".

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Lookup

func Lookup(tags []*ec2.Tag, fallback string) string

Lookup will return the name of a "thing" from the given set of tags. If there is no name found the fallback value will be returned instead.

Types

This section is empty.

Jump to

Keyboard shortcuts

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