Documentation ¶
Index ¶
- Constants
- func NewRateLimitConfiguration(rlHttp *v1alpha1.RateLimit_Conf_Http) (*any.Any, error)
- type CommonRouteConfigurationConfigurer
- type RedirectConfigurer
- type ResetTagsHeaderConfigurer
- type RouteConfigurationConfigureFunc
- type RouteConfigurationConfigurer
- type RouteConfigurationMustConfigureFunc
- type RouteConfigurer
- type RoutesConfigurer
- type TagsHeaderConfigurer
- type VirtualHostConfigureFunc
- type VirtualHostConfigurer
- type VirtualHostMustConfigureFunc
Constants ¶
const TagsHeaderName = "x-kuma-tags"
Variables ¶
This section is empty.
Functions ¶
func NewRateLimitConfiguration ¶ added in v1.8.1
func NewRateLimitConfiguration(rlHttp *v1alpha1.RateLimit_Conf_Http) (*any.Any, error)
Types ¶
type CommonRouteConfigurationConfigurer ¶
type CommonRouteConfigurationConfigurer struct {
Name string
}
func (CommonRouteConfigurationConfigurer) Configure ¶
func (c CommonRouteConfigurationConfigurer) Configure(routeConfiguration *envoy_route.RouteConfiguration) error
type RedirectConfigurer ¶
func (RedirectConfigurer) Configure ¶
func (c RedirectConfigurer) Configure(virtualHost *envoy_route.VirtualHost) error
type ResetTagsHeaderConfigurer ¶
type ResetTagsHeaderConfigurer struct { }
func (*ResetTagsHeaderConfigurer) Configure ¶
func (r *ResetTagsHeaderConfigurer) Configure(rc *envoy_route.RouteConfiguration) error
type RouteConfigurationConfigureFunc ¶ added in v1.8.1
type RouteConfigurationConfigureFunc func(rc *envoy_route.RouteConfiguration) error
RouteConfigurationConfigureFunc adapts a configuration function to the RouteConfigurationConfigurer interface.
func (RouteConfigurationConfigureFunc) Configure ¶ added in v1.8.1
func (f RouteConfigurationConfigureFunc) Configure(rc *envoy_route.RouteConfiguration) error
type RouteConfigurationConfigurer ¶
type RouteConfigurationConfigurer interface { // Configure configures a single aspect on a given Envoy RouteConfiguration. Configure(routeConfiguration *envoy_route.RouteConfiguration) error }
RouteConfigurationConfigurer is responsible for configuring a single aspect of the entire Envoy RouteConfiguration, such as VirtualHost, HTTP headers to add or remove, etc.
type RouteConfigurationMustConfigureFunc ¶ added in v1.8.1
type RouteConfigurationMustConfigureFunc func(rc *envoy_route.RouteConfiguration)
RouteConfigurationMustConfigureFunc adapts a configuration function that never fails to the RouteConfigurationConfigurer interface.
func (RouteConfigurationMustConfigureFunc) Configure ¶ added in v1.8.1
func (f RouteConfigurationMustConfigureFunc) Configure(rc *envoy_route.RouteConfiguration) error
type RouteConfigurer ¶
func (RouteConfigurer) Configure ¶
func (c RouteConfigurer) Configure(virtualHost *envoy_route.VirtualHost) error
type RoutesConfigurer ¶
type RoutesConfigurer struct {
Routes envoy_common.Routes
}
func (RoutesConfigurer) Configure ¶
func (c RoutesConfigurer) Configure(virtualHost *envoy_route.VirtualHost) error
type TagsHeaderConfigurer ¶
type TagsHeaderConfigurer struct {
Tags mesh_proto.MultiValueTagSet
}
func (*TagsHeaderConfigurer) Configure ¶
func (t *TagsHeaderConfigurer) Configure(rc *envoy_route.RouteConfiguration) error
type VirtualHostConfigureFunc ¶ added in v1.8.1
type VirtualHostConfigureFunc func(vh *envoy_route.VirtualHost) error
VirtualHostConfigureFunc adapts a configuration function to the VirtualHostConfigurer interface.
func (VirtualHostConfigureFunc) Configure ¶ added in v1.8.1
func (f VirtualHostConfigureFunc) Configure(vh *envoy_route.VirtualHost) error
type VirtualHostConfigurer ¶
type VirtualHostConfigurer interface { // Configure configures a single aspect on a given Envoy VirtualHost. Configure(virtualHost *envoy_route.VirtualHost) error }
VirtualHostConfigurer is responsible for configuring a single aspect of the entire Envoy VirtualHost, such as Route, CORS, etc.
type VirtualHostMustConfigureFunc ¶ added in v1.8.1
type VirtualHostMustConfigureFunc func(vh *envoy_route.VirtualHost)
VirtualHostMustConfigureFunc adapts a configuration function that never fails to the VirtualHostConfigurer interface.
func (VirtualHostMustConfigureFunc) Configure ¶ added in v1.8.1
func (f VirtualHostMustConfigureFunc) Configure(vh *envoy_route.VirtualHost) error