lambda

package
v0.0.0-...-86aec00 Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	LambdaFunction                 software.SoftwareType = "lambda"
	DefaultTimeout                 time.Duration         = time.Second * 15
	DefaultDeprecatedRuntimesScore int                   = 100
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Enabled                 bool            `yaml:"enabled"`
	RequestTimeout          string          `yaml:"request-timeout"`
	DeprecatedRuntimes      []types.Runtime `yaml:"deprecated-runtimes"`
	DeprecatedRuntimesScore int             `yaml:"deprecated-runtimes-score"`
}

type Source

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

func NewSource

func NewSource(api aws.LambdaApi, log *slog.Logger, cfg *Config) (*Source, error)

func (*Source) Load

func (s *Source) Load() ([]*software.Software, error)

func (*Source) Name

func (s *Source) Name() string

Jump to

Keyboard shortcuts

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