lambda

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2024 License: AGPL-3.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AwsClient

type AwsClient interface {
	GetRegion() ptypes.AwsRegion
	GetAccountID() ptypes.AwsAccountID
	Lambda() *lambda.Client
}

type Function

func NewFunction

func NewFunction(client AwsClient, fn types2.FunctionConfiguration, tags map[string]string) Function

func (Function) GetName

func (e Function) GetName() string

func (Function) GetTagValue

func (e Function) GetTagValue(tag string) string

func (Function) GetTags

func (e Function) GetTags() map[string]string

type LambdaRepository

type LambdaRepository struct {
	// contains filtered or unexported fields
}

func NewLambdaRepository

func NewLambdaRepository(ctx context.Context, client AwsClient) *LambdaRepository

func (*LambdaRepository) GetRegion

func (r *LambdaRepository) GetRegion() ptypes.AwsRegion

func (*LambdaRepository) ListFunctionTags

func (r *LambdaRepository) ListFunctionTags(fn types.FunctionConfiguration) (map[string]string, error)

func (*LambdaRepository) ListFunctionsAll

func (r *LambdaRepository) ListFunctionsAll() ([]Function, error)

func (*LambdaRepository) ListFunctionsByInput

func (r *LambdaRepository) ListFunctionsByInput(query *lambda.ListFunctionsInput) ([]Function, error)

Jump to

Keyboard shortcuts

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