utils

package
v1.9.0 Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CompareStringMaps added in v1.0.6

func CompareStringMaps(map1, map2 map[string]string) bool

func CompareStringSliceElements

func CompareStringSliceElements(lh []string, rh []string) bool

func ConvertFromLogTypes added in v1.9.0

func ConvertFromLogTypes(logTypes []ekstypes.LogType) []string

func ConvertToLogTypes added in v1.9.0

func ConvertToLogTypes(loggingTypes []string) []ekstypes.LogType

func CreateTagSpecs added in v1.0.6

func CreateTagSpecs(instanceTags map[string]string) []ec2types.LaunchTemplateTagSpecificationRequest

func GetInstanceTags added in v1.0.6

func GetInstanceTags(templateTags []ec2types.LaunchTemplateTagSpecification) map[string]string

func GetKeyValuesToUpdate

func GetKeyValuesToUpdate(tags map[string]string, upstreamTags map[string]string) map[string]string

func GetKeysToDelete

func GetKeysToDelete(tags map[string]string, upstreamTags map[string]string) []string

func MergeMaps added in v1.0.6

func MergeMaps(map1, map2 map[string]string) map[string]string

MergeMaps will add all keys and values from map2 to map1.

func Parse

func Parse(ref string) (namespace string, name string)

func SubtractMaps added in v1.0.6

func SubtractMaps(map1, map2 map[string]string) map[string]string

SubtractMaps will remove all keys and values in map2 from map1.

func ValuesFromMap added in v1.0.6

func ValuesFromMap(m map[string]string) []string

Types

This section is empty.

Jump to

Keyboard shortcuts

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