Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var AllLambdaSupportedRegions = []Region{
"us-east-2",
"us-east-1",
"us-west-1",
"us-west-2",
"af-south-1",
"ap-east-1",
"ap-south-2",
"ap-southeast-3",
"ap-southeast-4",
"ap-south-1",
"ap-northeast-3",
"ap-northeast-2",
"ap-southeast-1",
"ap-southeast-2",
"ap-northeast-1",
"ca-central-1",
"eu-central-1",
"eu-west-1",
"eu-west-2",
"eu-south-1",
"eu-west-3",
"eu-south-2",
"eu-north-1",
"eu-central-2",
"il-central-1",
"me-south-1",
"me-central-1",
"sa-east-1",
}
Functions ¶
This section is empty.
Types ¶
type CSVPresenter ¶
type CSVPresenter struct {
Delimiter rune
}
func (*CSVPresenter) Render ¶
func (p *CSVPresenter) Render(deprecatedFunctions []*DeprecatedFunction) (string, error)
type DeprecatedFunction ¶
type DeprecatedFunction struct { Conf types.FunctionConfiguration DeprecationDate string }
func CollectDeprecatedLambdaFunctions ¶
func CollectDeprecatedLambdaFunctions(ctx context.Context, regions []Region, includeFuturePlanned bool, assumeRoleARN string, extractor *DeprecatedFunctionExtractor) ([]*DeprecatedFunction, error)
type DeprecatedFunctionExtractor ¶
type DeprecatedFunctionExtractor struct {
// contains filtered or unexported fields
}
func NewDeprecatedFunctionExtractor ¶
func NewDeprecatedFunctionExtractor() (*DeprecatedFunctionExtractor, error)
func (*DeprecatedFunctionExtractor) Extract ¶
func (f *DeprecatedFunctionExtractor) Extract(configurations []types.FunctionConfiguration, includeFuturePlanned bool) []*DeprecatedFunction
type DeprecatedRuntime ¶
type DeprecatedRuntimeSource ¶
type JSONPresenter ¶
type JSONPresenter struct { }
func (*JSONPresenter) Render ¶
func (p *JSONPresenter) Render(deprecatedFunctions []*DeprecatedFunction) (string, error)
type Output ¶
type Output struct { ARN string `json:"arn"` DeprecatedRuntime string `json:"deprecated_runtime"` DeprecationDate string `json:"deprecation_date"` }
func TransformToOutput ¶
func TransformToOutput(deprecatedFunctions []*DeprecatedFunction) []Output
type Presenter ¶
type Presenter interface {
Render(deprecatedFunctions []*DeprecatedFunction) (string, error)
}
Source Files ¶
Click to show internal directories.
Click to hide internal directories.