Documentation ¶
Index ¶
- type AccessControlGRPCRouteEnricher
- type AccessControlHTTPRouteEnricher
- type AccessControlHostnameEnricher
- type AccessControlPortEnricher
- type CircuitBreakingPolicyEnricher
- type FaultInjectionGRPCRouteEnricher
- type FaultInjectionHTTPRouteEnricher
- type FaultInjectionHostnameEnricher
- type GRPCRoutePolicyEnricher
- type GatewayTLSPortEnricher
- type HTTPRoutePolicyEnricher
- type HealthCheckPolicyEnricher
- type HostnamePolicyEnricher
- type LoadBalancerPolicyEnricher
- type PortPolicyEnricher
- type RateLimitGRPCRouteEnricher
- type RateLimitHTTPRouteEnricher
- type RateLimitHostnameEnricher
- type RateLimitPortEnricher
- type RetryPolicyEnricher
- type ServicePolicyEnricher
- type SessionStickyPolicyEnricher
- type UpstreamTLSConfig
- type UpstreamTLSPolicyEnricher
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccessControlGRPCRouteEnricher ¶
type AccessControlGRPCRouteEnricher struct {
Data []gwpav1alpha1.AccessControlPolicy
}
AccessControlGRPCRouteEnricher is an enricher for access control policies at the GRPC route level
func (*AccessControlGRPCRouteEnricher) Enrich ¶
func (e *AccessControlGRPCRouteEnricher) Enrich(match gwv1alpha2.GRPCRouteMatch, matchCfg *fgw.GRPCTrafficMatch)
type AccessControlHTTPRouteEnricher ¶
type AccessControlHTTPRouteEnricher struct {
Data []gwpav1alpha1.AccessControlPolicy
}
AccessControlHTTPRouteEnricher is an enricher for access control policies at the HTTP route level
func (*AccessControlHTTPRouteEnricher) Enrich ¶
func (e *AccessControlHTTPRouteEnricher) Enrich(match gwv1beta1.HTTPRouteMatch, matchCfg *fgw.HTTPTrafficMatch)
type AccessControlHostnameEnricher ¶
type AccessControlHostnameEnricher struct {
Data []gwpav1alpha1.AccessControlPolicy
}
AccessControlHostnameEnricher is an enricher for access control policies at the hostname level
func (*AccessControlHostnameEnricher) Enrich ¶
func (e *AccessControlHostnameEnricher) Enrich(hostname string, r fgw.L7RouteRuleSpec)
type AccessControlPortEnricher ¶
type AccessControlPortEnricher struct {
Data []gwpav1alpha1.AccessControlPolicy
}
AccessControlPortEnricher is an enricher for access control policies at the port level
func (*AccessControlPortEnricher) Enrich ¶
func (e *AccessControlPortEnricher) Enrich(gw *gwv1beta1.Gateway, port gwv1beta1.PortNumber, listenerCfg *fgw.Listener)
type CircuitBreakingPolicyEnricher ¶
type CircuitBreakingPolicyEnricher struct {
Data map[string]*gwpav1alpha1.CircuitBreakingConfig
}
CircuitBreakingPolicyEnricher is an enricher for circuit breaking policies
func (*CircuitBreakingPolicyEnricher) Enrich ¶
func (e *CircuitBreakingPolicyEnricher) Enrich(svcPortName string, svcCfg *fgw.ServiceConfig)
type FaultInjectionGRPCRouteEnricher ¶
type FaultInjectionGRPCRouteEnricher struct {
Data []gwpav1alpha1.FaultInjectionPolicy
}
FaultInjectionGRPCRouteEnricher is an enricher for fault injection policies at the GRPC route level
func (*FaultInjectionGRPCRouteEnricher) Enrich ¶
func (e *FaultInjectionGRPCRouteEnricher) Enrich(match gwv1alpha2.GRPCRouteMatch, matchCfg *fgw.GRPCTrafficMatch)
type FaultInjectionHTTPRouteEnricher ¶
type FaultInjectionHTTPRouteEnricher struct {
Data []gwpav1alpha1.FaultInjectionPolicy
}
FaultInjectionHTTPRouteEnricher is an enricher for fault injection policies at the HTTP route level
func (*FaultInjectionHTTPRouteEnricher) Enrich ¶
func (e *FaultInjectionHTTPRouteEnricher) Enrich(match gwv1beta1.HTTPRouteMatch, matchCfg *fgw.HTTPTrafficMatch)
type FaultInjectionHostnameEnricher ¶
type FaultInjectionHostnameEnricher struct {
Data []gwpav1alpha1.FaultInjectionPolicy
}
FaultInjectionHostnameEnricher is an enricher for fault injection policies at the hostname level
func (*FaultInjectionHostnameEnricher) Enrich ¶
func (e *FaultInjectionHostnameEnricher) Enrich(hostname string, r fgw.L7RouteRuleSpec)
type GRPCRoutePolicyEnricher ¶
type GRPCRoutePolicyEnricher interface {
Enrich(match gwv1alpha2.GRPCRouteMatch, matchCfg *fgw.GRPCTrafficMatch)
}
type GatewayTLSPortEnricher ¶
type GatewayTLSPortEnricher struct {
Data []gwpav1alpha1.GatewayTLSPolicy
}
GatewayTLSPortEnricher is an enricher for access control policies at the port level
func (*GatewayTLSPortEnricher) Enrich ¶
func (e *GatewayTLSPortEnricher) Enrich(gw *gwv1beta1.Gateway, port gwv1beta1.PortNumber, listenerCfg *fgw.Listener)
type HTTPRoutePolicyEnricher ¶
type HTTPRoutePolicyEnricher interface {
Enrich(match gwv1beta1.HTTPRouteMatch, matchCfg *fgw.HTTPTrafficMatch)
}
type HealthCheckPolicyEnricher ¶
type HealthCheckPolicyEnricher struct {
Data map[string]*gwpav1alpha1.HealthCheckConfig
}
HealthCheckPolicyEnricher is an enricher for health check policies
func (*HealthCheckPolicyEnricher) Enrich ¶
func (e *HealthCheckPolicyEnricher) Enrich(svcPortName string, svcCfg *fgw.ServiceConfig)
type HostnamePolicyEnricher ¶
type HostnamePolicyEnricher interface {
Enrich(hostname string, r fgw.L7RouteRuleSpec)
}
type LoadBalancerPolicyEnricher ¶
type LoadBalancerPolicyEnricher struct {
Data map[string]*gwpav1alpha1.LoadBalancerType
}
LoadBalancerPolicyEnricher is an enricher for load balancer policies
func (*LoadBalancerPolicyEnricher) Enrich ¶
func (e *LoadBalancerPolicyEnricher) Enrich(svcPortName string, svcCfg *fgw.ServiceConfig)
type PortPolicyEnricher ¶
type RateLimitGRPCRouteEnricher ¶
type RateLimitGRPCRouteEnricher struct {
Data []gwpav1alpha1.RateLimitPolicy
}
RateLimitGRPCRouteEnricher is an enricher for rate limit policies at the GRPC route level
func (*RateLimitGRPCRouteEnricher) Enrich ¶
func (e *RateLimitGRPCRouteEnricher) Enrich(match gwv1alpha2.GRPCRouteMatch, matchCfg *fgw.GRPCTrafficMatch)
type RateLimitHTTPRouteEnricher ¶
type RateLimitHTTPRouteEnricher struct {
Data []gwpav1alpha1.RateLimitPolicy
}
RateLimitHTTPRouteEnricher is an enricher for rate limit policies at the HTTP route level
func (*RateLimitHTTPRouteEnricher) Enrich ¶
func (e *RateLimitHTTPRouteEnricher) Enrich(match gwv1beta1.HTTPRouteMatch, matchCfg *fgw.HTTPTrafficMatch)
type RateLimitHostnameEnricher ¶
type RateLimitHostnameEnricher struct {
Data []gwpav1alpha1.RateLimitPolicy
}
RateLimitHostnameEnricher is an enricher for rate limit policies at the hostname level
func (*RateLimitHostnameEnricher) Enrich ¶
func (e *RateLimitHostnameEnricher) Enrich(hostname string, r fgw.L7RouteRuleSpec)
type RateLimitPortEnricher ¶
type RateLimitPortEnricher struct {
Data []gwpav1alpha1.RateLimitPolicy
}
RateLimitPortEnricher is an enricher for rate limit policies at the port level
func (*RateLimitPortEnricher) Enrich ¶
func (e *RateLimitPortEnricher) Enrich(gw *gwv1beta1.Gateway, port gwv1beta1.PortNumber, listenerCfg *fgw.Listener)
type RetryPolicyEnricher ¶
type RetryPolicyEnricher struct {
Data map[string]*gwpav1alpha1.RetryConfig
}
RetryPolicyEnricher is an enricher for retry policies
func (*RetryPolicyEnricher) Enrich ¶
func (e *RetryPolicyEnricher) Enrich(svcPortName string, svcCfg *fgw.ServiceConfig)
type ServicePolicyEnricher ¶
type ServicePolicyEnricher interface { // Enrich enriches the service config with the service level policy based on the service port name Enrich(svcPortName string, svcCfg *fgw.ServiceConfig) }
ServicePolicyEnricher is an interface for enriching service level policies
type SessionStickyPolicyEnricher ¶
type SessionStickyPolicyEnricher struct {
Data map[string]*gwpav1alpha1.SessionStickyConfig
}
SessionStickyPolicyEnricher is an enricher for session sticky policies
func (*SessionStickyPolicyEnricher) Enrich ¶
func (e *SessionStickyPolicyEnricher) Enrich(svcPortName string, svcCfg *fgw.ServiceConfig)
type UpstreamTLSConfig ¶
type UpstreamTLSPolicyEnricher ¶
type UpstreamTLSPolicyEnricher struct {
Data map[string]*UpstreamTLSConfig
}
UpstreamTLSPolicyEnricher is an enricher for upstream TLS policies
func (*UpstreamTLSPolicyEnricher) Enrich ¶
func (e *UpstreamTLSPolicyEnricher) Enrich(svcPortName string, svcCfg *fgw.ServiceConfig)