utils

package
v0.0.0-...-b8cb744 Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2023 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DiffDynamoItems

func DiffDynamoItems(dynamoItems []string, atrsToTrigger []string, accountId string) ([]string, error)

func GetAtrsFromDynamo

func GetAtrsFromDynamo(accountId, tableName string, atrs []string, client *goKitDynamo.Client) ([]string, error)

func GetK8sIntegrationIds

func GetK8sIntegrationIds(accountId string, uids []string, kinds []string, client *elasticsearch.Client, logger *zerolog.Logger) ([]string, error)

func ToJsonLines

func ToJsonLines(nodes []map[string]interface{}) (jsonLines []byte, err error)

func WriteAtrsToDynamo

func WriteAtrsToDynamo(accountId, tableName string, atrs []string, dynamoTTL int, client *goKitDynamo.Client) error

func WriteFile

func WriteFile(cfg *config.Config, path string, content []byte, fileType string) (err error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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