gateway

package
v0.0.0-...-0c953da Latest Latest
Warning

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

Go to latest
Published: Dec 31, 2024 License: Apache-2.0 Imports: 40 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type APIRuleReconciler

type APIRuleReconciler struct {
	processing.ReconciliationConfig
	client.Client
	Log                      logr.Logger
	Scheme                   *runtime.Scheme
	Config                   *helpers.Config
	ReconcilePeriod          time.Duration
	OnErrorReconcilePeriod   time.Duration
	MigrationReconcilePeriod time.Duration
	Metrics                  *metrics.ApiGatewayMetrics
}

APIRuleReconciler reconciles a APIRule object

func NewApiRuleReconciler

func NewApiRuleReconciler(mgr manager.Manager, config ApiRuleReconcilerConfiguration, apiGatewayMetrics *metrics.ApiGatewayMetrics) *APIRuleReconciler

func (*APIRuleReconciler) Reconcile

func (r *APIRuleReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)

func (*APIRuleReconciler) SetupWithManager

func (r *APIRuleReconciler) SetupWithManager(mgr ctrl.Manager, c controllers.RateLimiterConfig) error

SetupWithManager sets up the controller with the Manager.

type ApiRuleReconcilerConfiguration

type ApiRuleReconcilerConfiguration struct {
	OathkeeperSvcAddr                                    string
	OathkeeperSvcPort                                    uint
	CorsAllowOrigins, CorsAllowMethods, CorsAllowHeaders string
	ReconciliationPeriod                                 uint
	ErrorReconciliationPeriod                            uint
	MigrationReconciliationPeriod                        uint
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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