aws

package
v1.12.38 Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2022 License: Apache-2.0 Imports: 25 Imported by: 3

Documentation

Index

Constants

View Source
const (
	ExtensionName = "aws_lambda"
	FilterName    = "io.solo.aws_lambda"
)

Variables

This section is empty.

Functions

func GenerateAWSLambdaRouteConfig added in v1.9.25

func GenerateAWSLambdaRouteConfig(destination *aws.DestinationSpec, upstream *aws.UpstreamSpec) (*AWSLambdaPerRoute, error)

func NewPlugin

func NewPlugin(perRouteConfigGenerator PerRouteConfigGenerator) plugins.Plugin

Types

type PerRouteConfigGenerator added in v1.9.25

type PerRouteConfigGenerator func(destination *aws.DestinationSpec, upstream *aws.UpstreamSpec) (*AWSLambdaPerRoute, error)

PerRouteConfigGenerator defines how to build the Per Route Configuration for a Lambda upstream This enables the open source and enterprise definitions to differ, but still share the same core plugin functionality

type Plugin added in v1.9.25

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

func (*Plugin) HttpFilters added in v1.9.25

func (p *Plugin) HttpFilters(_ plugins.Params, _ *v1.HttpListener) ([]plugins.StagedHttpFilter, error)

func (*Plugin) Init added in v1.9.25

func (p *Plugin) Init(params plugins.InitParams)

func (*Plugin) Name added in v1.9.25

func (p *Plugin) Name() string

func (*Plugin) ProcessRoute added in v1.9.25

func (p *Plugin) ProcessRoute(params plugins.RouteParams, in *v1.Route, out *envoy_config_route_v3.Route) error

func (*Plugin) ProcessUpstream added in v1.9.25

func (p *Plugin) ProcessUpstream(params plugins.Params, in *v1.Upstream, out *envoy_config_cluster_v3.Cluster) error

Directories

Path Synopsis
ec2

Jump to

Keyboard shortcuts

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