awslambda

package
v0.52.7 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateEndOfLife

func GenerateEndOfLife(ctx context.Context, logger *slog.Logger, sqlDB *sql.DB, pw progress.Writer) error

func NewImporter

func NewImporter() importer

func NewParser

func NewParser() parser

Types

type AWSLambda

type AWSLambda struct{}

func (*AWSLambda) AnonymiseData

func (*AWSLambda) AnonymiseData(ctx context.Context, sqlDB *sql.DB, orgs []string) (err error)

func (*AWSLambda) CreateTables

func (*AWSLambda) CreateTables(ctx context.Context, sqlDB *sql.DB) error

func (*AWSLambda) Name

func (*AWSLambda) Name() string

type LambdaFunction

type LambdaFunction struct {
	AccountId    string
	Region       string
	ARN          string
	Name         string
	Runtime      string
	LastModified *string
	Tags         map[string]string
}

func RetrieveAll

func RetrieveAll(ctx context.Context, sqlDB *sql.DB) ([]LambdaFunction, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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