tags

package
v0.33.0 Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2024 License: Apache-2.0 Imports: 0 Imported by: 151

Documentation

Index

Constants

View Source
const (
	ServiceAliasTagFormat      = "%CONTROLLER_SERVICE%"
	ControllerVersionTagFormat = "%CONTROLLER_VERSION%"
	NamespaceTagFormat         = "%K8S_NAMESPACE%"
	ResourceNameTagFormat      = "%K8S_RESOURCE_NAME%"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Tags

type Tags map[string]string

Tags represents the AWS tags which will be added to the AWS resource. Inside aws-sdk-go, Tags are represented using multiple types, Ex: map of string, list of structs etc... Tags type will be used as a hub/mediator to merge tags represented using different types.

func Merge

func Merge(a Tags, b Tags) Tags

Merge merges two set of Tags and returns the merge result. In case of collision precedence is given to tags present in the first parameter 'a'.

func NewTags

func NewTags() Tags

NewTags returns Tags with empty tags

Jump to

Keyboard shortcuts

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