Documentation ¶
Index ¶
- Constants
- func GenerateAWSLambdaRouteConfig(destination *aws.DestinationSpec, upstream *aws.UpstreamSpec) (*AWSLambdaPerRoute, error)
- func NewPlugin(perRouteConfigGenerator PerRouteConfigGenerator) plugins.Plugin
- type PerRouteConfigGenerator
- type Plugin
- func (p *Plugin) HttpFilters(_ plugins.Params, _ *v1.HttpListener) ([]plugins.StagedHttpFilter, error)
- func (p *Plugin) Init(params plugins.InitParams) error
- func (p *Plugin) Name() string
- func (p *Plugin) ProcessRoute(params plugins.RouteParams, in *v1.Route, out *envoy_config_route_v3.Route) error
- func (p *Plugin) ProcessUpstream(params plugins.Params, in *v1.Upstream, out *envoy_config_cluster_v3.Cluster) error
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) 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
Click to show internal directories.
Click to hide internal directories.