policy

package
v1.2.5-alpha.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 11, 2024 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

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

type AccessControlHTTPRouteEnricher

type AccessControlHTTPRouteEnricher struct {
	Data []gwpav1alpha1.AccessControlPolicy
}

AccessControlHTTPRouteEnricher is an enricher for access control policies at the HTTP route level

func (*AccessControlHTTPRouteEnricher) Enrich

type AccessControlHostnameEnricher

type AccessControlHostnameEnricher struct {
	Data []gwpav1alpha1.AccessControlPolicy
}

AccessControlHostnameEnricher is an enricher for access control policies at the hostname level

func (*AccessControlHostnameEnricher) Enrich

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

type FaultInjectionHTTPRouteEnricher

type FaultInjectionHTTPRouteEnricher struct {
	Data []gwpav1alpha1.FaultInjectionPolicy
}

FaultInjectionHTTPRouteEnricher is an enricher for fault injection policies at the HTTP route level

func (*FaultInjectionHTTPRouteEnricher) Enrich

type FaultInjectionHostnameEnricher

type FaultInjectionHostnameEnricher struct {
	Data []gwpav1alpha1.FaultInjectionPolicy
}

FaultInjectionHostnameEnricher is an enricher for fault injection policies at the hostname level

func (*FaultInjectionHostnameEnricher) Enrich

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 PortPolicyEnricher interface {
	Enrich(gw *gwv1beta1.Gateway, port gwv1beta1.PortNumber, listenerCfg *fgw.Listener)
}

type RateLimitGRPCRouteEnricher

type RateLimitGRPCRouteEnricher struct {
	Data []gwpav1alpha1.RateLimitPolicy
}

RateLimitGRPCRouteEnricher is an enricher for rate limit policies at the GRPC route level

func (*RateLimitGRPCRouteEnricher) Enrich

type RateLimitHTTPRouteEnricher

type RateLimitHTTPRouteEnricher struct {
	Data []gwpav1alpha1.RateLimitPolicy
}

RateLimitHTTPRouteEnricher is an enricher for rate limit policies at the HTTP route level

func (*RateLimitHTTPRouteEnricher) Enrich

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 UpstreamTLSConfig struct {
	MTLS   *bool
	Secret *corev1.Secret
}

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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL