policy

package
v1.2.0-alpha.5 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2023 License: Apache-2.0 Imports: 11 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

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 *routecfg.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 *routecfg.GRPCTrafficMatch)
}

type HTTPRoutePolicyEnricher

type HTTPRoutePolicyEnricher interface {
	Enrich(match gwv1beta1.HTTPRouteMatch, matchCfg *routecfg.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 *routecfg.ServiceConfig)

type HostnamePolicyEnricher

type HostnamePolicyEnricher interface {
	Enrich(hostname string, r routecfg.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 *routecfg.ServiceConfig)

type PortPolicyEnricher

type PortPolicyEnricher interface {
	Enrich(gw *gwv1beta1.Gateway, port gwv1beta1.PortNumber, listenerCfg *routecfg.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

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 *routecfg.Listener)

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 *routecfg.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 *routecfg.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 *routecfg.ServiceConfig)

Directories

Path Synopsis
utils

Jump to

Keyboard shortcuts

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