Documentation ¶
Index ¶
- type ClusterGeneratorPlugin
- type EdsPlugin
- type FilterStage
- type HttpFilterPlugin
- type InitParams
- type ListenerFilterPlugin
- type ListenerPlugin
- type Params
- type Plugin
- type RouteActionPlugin
- type RoutePlugin
- type StagedHttpFilter
- type StagedListenerFilter
- type UdsPlugin
- type UpstreamPlugin
- type VirtualHostPlugin
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClusterGeneratorPlugin ¶
type ClusterGeneratorPlugin interface { Plugin GeneratedClusters(params Params) ([]*envoyapi.Cluster, error) }
Generation plugins
type FilterStage ¶
type FilterStage int
const ( FaultFilter FilterStage = iota PreInAuth InAuth PostInAuth PreOutAuth OutAuth )
type HttpFilterPlugin ¶
type HttpFilterPlugin interface { Plugin HttpFilters(params Params, listener *v1.HttpListener) ([]StagedHttpFilter, error) }
type InitParams ¶
type InitParams struct { Ctx context.Context ExtensionsSettings *v1.Extensions }
type ListenerFilterPlugin ¶
type ListenerPlugin ¶
type Plugin ¶
type Plugin interface {
Init(params InitParams) error
}
type RouteActionPlugin ¶
type RouteActionPlugin interface { Plugin ProcessRouteAction(params Params, inAction *v1.RouteAction, inPlugins map[string]*RoutePlugin, out *envoyroute.RouteAction) error }
type RoutePlugin ¶
type StagedHttpFilter ¶
type StagedHttpFilter struct { HttpFilter *envoyhttp.HttpFilter Stage FilterStage }
type StagedListenerFilter ¶
type StagedListenerFilter struct { ListenerFilter envoylistener.Filter Stage FilterStage }
type UpstreamPlugin ¶
type VirtualHostPlugin ¶
type VirtualHostPlugin interface { Plugin ProcessVirtualHost(params Params, in *v1.VirtualHost, out *envoyroute.VirtualHost) error }
Click to show internal directories.
Click to hide internal directories.