helpers

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Contains added in v1.1.0

func Contains(slice []string, elem string) bool

Contains checks if a slice contains a specific element.

func GetTagName

func GetTagName(inst *types.Instance) string

GetTagName retrieves the "Name" tag of an EC2 instance.

func StrOrDefault

func StrOrDefault(s *string, defaultVal string) string

StrOrDefault returns the value of the string pointer or a default value if it's nil.

Types

This section is empty.

Jump to

Keyboard shortcuts

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