utils

package
v0.7.22 Latest Latest
Warning

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

Go to latest
Published: Jun 16, 2021 License: Apache-2.0 Imports: 11 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddCreationDateTag added in v0.7.0

func AddCreationDateTag(svc interface{}, idsToTag []*string, creationDate time.Time, ttl int64) error

func AwsStringChecker added in v0.7.0

func AwsStringChecker(elem interface{ String() string }) string

func CheckIfExpired

func CheckIfExpired(creationTime time.Time, ttl int64) bool

func ElemToDeleteFormattedInfos added in v0.7.0

func ElemToDeleteFormattedInfos(elemName string, arraySize int, region string) (string, string)

func GetEssentialTags added in v0.7.5

func GetEssentialTags(tagsInput interface{}, tagName string) (time.Time, int64, bool, string, string)

Types

type MyTag added in v0.7.19

type MyTag struct {
	Key   string `type:"string"`
	Value string `type:"string"`
	// contains filtered or unexported fields
}

type Tag added in v0.7.5

type Tag struct {
	Key   *string `type:"string"`
	Value *string `type:"string"`
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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