Documentation ¶
Index ¶
- Constants
- Variables
- func TranslateTransformation(glooTransform *transformation.Transformation) (*envoytransformation.Transformation, error)
- type Plugin
- func (p *Plugin) HttpFilters(params plugins.Params, listener *v1.HttpListener) ([]plugins.StagedHttpFilter, error)
- func (p *Plugin) Init(params plugins.InitParams) error
- func (p *Plugin) IsUpgrade() bool
- func (p *Plugin) PluginName() string
- func (p *Plugin) ProcessRoute(params plugins.RouteParams, in *v1.Route, out *envoy_config_route_v3.Route) error
- func (p *Plugin) ProcessVirtualHost(params plugins.VirtualHostParams, in *v1.VirtualHost, ...) error
- func (p *Plugin) ProcessWeightedDestination(params plugins.RouteParams, in *v1.WeightedDestination, ...) error
- type TranslateTransformationFn
Constants ¶
View Source
const ( FilterName = "io.solo.transformation" EarlyStageNumber = 1 PluginName = "transformation.plugin.solo" )
Variables ¶
View Source
var ( UnknownTransformationType = func(transformation interface{}) error { return fmt.Errorf("unknown transformation type %T", transformation) } )
Functions ¶
func TranslateTransformation ¶ added in v1.7.7
func TranslateTransformation(glooTransform *transformation.Transformation) (*envoytransformation.Transformation, error)
Types ¶
type Plugin ¶
type Plugin struct { RequireTransformationFilter bool TranslateTransformation TranslateTransformationFn // contains filtered or unexported fields }
func (*Plugin) HttpFilters ¶
func (p *Plugin) HttpFilters(params plugins.Params, listener *v1.HttpListener) ([]plugins.StagedHttpFilter, error)
func (*Plugin) PluginName ¶ added in v1.7.7
func (*Plugin) ProcessRoute ¶
func (p *Plugin) ProcessRoute(params plugins.RouteParams, in *v1.Route, out *envoy_config_route_v3.Route) error
func (*Plugin) ProcessVirtualHost ¶ added in v0.18.28
func (p *Plugin) ProcessVirtualHost( params plugins.VirtualHostParams, in *v1.VirtualHost, out *envoy_config_route_v3.VirtualHost, ) error
func (*Plugin) ProcessWeightedDestination ¶ added in v0.18.28
func (p *Plugin) ProcessWeightedDestination( params plugins.RouteParams, in *v1.WeightedDestination, out *envoy_config_route_v3.WeightedCluster_ClusterWeight, ) error
type TranslateTransformationFn ¶ added in v1.7.7
type TranslateTransformationFn func(*transformation.Transformation) (*envoytransformation.Transformation, error)
Click to show internal directories.
Click to hide internal directories.