gateway

package
v0.0.0-...-d0b8644 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2024 License: Apache-2.0 Imports: 32 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CONFIGMAP_NAME                = "api-gateway-config"
	CONFIGMAP_NS                  = "kyma-system"
	DEFAULT_RECONCILIATION_PERIOD = 30 * time.Minute
	ERROR_RECONCILIATION_PERIOD   = time.Minute
	API_GATEWAY_FINALIZER         = "gateway.kyma-project.io/subresources"
)

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
}

APIRuleReconciler reconciles a APIRule object

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
}

Jump to

Keyboard shortcuts

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