configuration

package
v2.3.2 Latest Latest
Warning

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

Go to latest
Published: Sep 28, 2026 License: Apache-2.0 Imports: 42 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package configuration contains Kubernetes controllers responsible for configuration.konghq.com grouped API types.

Index

Constants

View Source
const (
	CACertLabelKey = "konghq.com/ca-cert"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type AdminAPIsDiscoverer

type AdminAPIsDiscoverer interface {
	AdminAPIsFromEndpointSlice(discoveryv1.EndpointSlice) (
		sets.Set[adminapi.DiscoveredAdminAPI],
		error,
	)
}

type CoreV1ConfigMapReconciler

type CoreV1ConfigMapReconciler struct {
	client.Client

	Log              logr.Logger
	Scheme           *runtime.Scheme
	DataplaneClient  controllers.DataPlane
	CacheSyncTimeout time.Duration

	ReferenceIndexers ctrlref.CacheIndexers
}

CoreV1ConfigMapReconciler reconciles ConfigMap resources.

func (*CoreV1ConfigMapReconciler) Reconcile

Reconcile processes the watched objects.

func (*CoreV1ConfigMapReconciler) SetLogger

func (r *CoreV1ConfigMapReconciler) SetLogger(l logr.Logger)

SetLogger sets the logger.

func (*CoreV1ConfigMapReconciler) SetupWithManager

func (r *CoreV1ConfigMapReconciler) SetupWithManager(mgr ctrl.Manager) error

SetupWithManager sets up the controller with the Manager.

type CoreV1NamespaceReconciler added in v2.3.0

type CoreV1NamespaceReconciler struct {
	client.Client

	Log              logr.Logger
	Scheme           *runtime.Scheme
	DataplaneClient  controllers.DataPlane
	CacheSyncTimeout time.Duration
}

CoreV1NamespaceReconciler reconciles Namespace resources.

Namespaces are cached so that the translator can evaluate a Gateway listener's AllowedRoutes.Namespaces From: Selector the same way the gateway controller does (both need the referenced Namespace's labels).

func (*CoreV1NamespaceReconciler) Reconcile added in v2.3.0

Reconcile processes the watched objects.

func (*CoreV1NamespaceReconciler) SetLogger added in v2.3.0

func (r *CoreV1NamespaceReconciler) SetLogger(l logr.Logger)

SetLogger sets the logger.

func (*CoreV1NamespaceReconciler) SetupWithManager added in v2.3.0

func (r *CoreV1NamespaceReconciler) SetupWithManager(mgr ctrl.Manager) error

SetupWithManager sets up the controller with the Manager.

type CoreV1SecretReconciler

type CoreV1SecretReconciler struct {
	client.Client

	Log              logr.Logger
	Scheme           *runtime.Scheme
	DataplaneClient  controllers.DataPlane
	CacheSyncTimeout time.Duration

	ReferenceIndexers ctrlref.CacheIndexers
}

CoreV1SecretReconciler reconciles Secret resources.

func (*CoreV1SecretReconciler) Reconcile

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

Reconcile processes the watched objects.

func (*CoreV1SecretReconciler) SetLogger

func (r *CoreV1SecretReconciler) SetLogger(l logr.Logger)

SetLogger sets the logger.

func (*CoreV1SecretReconciler) SetupWithManager

func (r *CoreV1SecretReconciler) SetupWithManager(mgr ctrl.Manager) error

SetupWithManager sets up the controller with the Manager.

type CoreV1ServiceReconciler

type CoreV1ServiceReconciler struct {
	client.Client

	Log               logr.Logger
	Scheme            *runtime.Scheme
	DataplaneClient   controllers.DataPlane
	CacheSyncTimeout  time.Duration
	ReferenceIndexers ctrlref.CacheIndexers
}

CoreV1ServiceReconciler reconciles Service resources

func (*CoreV1ServiceReconciler) Reconcile

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

Reconcile processes the watched objects

func (*CoreV1ServiceReconciler) SetLogger

func (r *CoreV1ServiceReconciler) SetLogger(l logr.Logger)

SetLogger sets the logger.

func (*CoreV1ServiceReconciler) SetupWithManager

func (r *CoreV1ServiceReconciler) SetupWithManager(mgr ctrl.Manager) error

SetupWithManager sets up the controller with the Manager.

type DiscoveryV1EndpointSliceReconciler

type DiscoveryV1EndpointSliceReconciler struct {
	client.Client

	Log              logr.Logger
	Scheme           *runtime.Scheme
	DataplaneClient  controllers.DataPlane
	CacheSyncTimeout time.Duration
}

DiscoveryV1EndpointSliceReconciler reconciles EndpointSlice resources

func (*DiscoveryV1EndpointSliceReconciler) Reconcile

Reconcile processes the watched objects

func (*DiscoveryV1EndpointSliceReconciler) SetLogger

SetLogger sets the logger.

func (*DiscoveryV1EndpointSliceReconciler) SetupWithManager

func (r *DiscoveryV1EndpointSliceReconciler) SetupWithManager(mgr ctrl.Manager) error

SetupWithManager sets up the controller with the Manager.

type EndpointsNotifier

type EndpointsNotifier interface {
	Notify(ctx context.Context, adminAPIs []adminapi.DiscoveredAdminAPI)
}

type IncubatorV1Alpha1KongServiceFacadeReconciler

type IncubatorV1Alpha1KongServiceFacadeReconciler struct {
	client.Client

	Log              logr.Logger
	Scheme           *runtime.Scheme
	DataplaneClient  controllers.DataPlane
	CacheSyncTimeout time.Duration
	StatusQueue      *status.Queue

	IngressClassName           string
	DisableIngressClassLookups bool
}

IncubatorV1Alpha1KongServiceFacadeReconciler reconciles KongServiceFacade resources

func (*IncubatorV1Alpha1KongServiceFacadeReconciler) Reconcile

Reconcile processes the watched objects

func (*IncubatorV1Alpha1KongServiceFacadeReconciler) SetLogger

SetLogger sets the logger.

func (*IncubatorV1Alpha1KongServiceFacadeReconciler) SetupWithManager

SetupWithManager sets up the controller with the Manager.

type KongAdminAPIServiceReconciler

type KongAdminAPIServiceReconciler struct {
	client.Client

	// ServiceNN is the service NamespacedName to watch EndpointSlices for.
	ServiceNN        k8stypes.NamespacedName
	Log              logr.Logger
	CacheSyncTimeout time.Duration
	// EndpointsNotifier is used to notify about Admin API endpoints changes.
	// We're going to call this only with endpoints when they change.
	EndpointsNotifier EndpointsNotifier

	Cache               DiscoveredAdminAPIsCache
	AdminAPIsDiscoverer AdminAPIsDiscoverer
}

KongAdminAPIServiceReconciler reconciles Kong Admin API Service Endpointslices and notifies the provided notifier about those.

func (*KongAdminAPIServiceReconciler) Reconcile

Reconcile processes the watched objects.

func (*KongAdminAPIServiceReconciler) SetLogger

func (r *KongAdminAPIServiceReconciler) SetLogger(l logr.Logger)

SetLogger sets the logger.

func (*KongAdminAPIServiceReconciler) SetupWithManager

func (r *KongAdminAPIServiceReconciler) SetupWithManager(mgr ctrl.Manager) error

SetupWithManager sets up the controller with the Manager.

type KongUpstreamPolicyReconciler

type KongUpstreamPolicyReconciler struct {
	client.Client

	Log              logr.Logger
	Scheme           *runtime.Scheme
	DataplaneClient  controllers.DataPlane
	CacheSyncTimeout time.Duration
	StatusQueue      *status.Queue

	IngressClassName           string
	DisableIngressClassLookups bool

	// KongServiceFacadeEnabled determines whether the controller should populate the KongUpstreamPolicy's ancestor
	// status for KongServiceFacades.
	KongServiceFacadeEnabled bool
	// HTTPRouteEnabled determines whether the controller should populate the KongUpstreamPolicy's
	// ancestor status for Services used in HTTPRoutes.
	HTTPRouteEnabled bool
}

KongUpstreamPolicyReconciler reconciles KongUpstreamPolicy resources.

func (*KongUpstreamPolicyReconciler) Reconcile

Reconcile processes the watched objects.

func (*KongUpstreamPolicyReconciler) SetLogger

func (r *KongUpstreamPolicyReconciler) SetLogger(l logr.Logger)

SetLogger sets the logger.

func (*KongUpstreamPolicyReconciler) SetupWithManager

func (r *KongUpstreamPolicyReconciler) SetupWithManager(mgr ctrl.Manager) error

SetupWithManager sets up the controller with the Manager.

type KongV1Alpha1IngressClassParametersReconciler

type KongV1Alpha1IngressClassParametersReconciler struct {
	client.Client

	Log              logr.Logger
	Scheme           *runtime.Scheme
	DataplaneClient  controllers.DataPlane
	CacheSyncTimeout time.Duration
}

KongV1Alpha1IngressClassParametersReconciler reconciles IngressClassParameters resources

func (*KongV1Alpha1IngressClassParametersReconciler) Reconcile

Reconcile processes the watched objects

func (*KongV1Alpha1IngressClassParametersReconciler) SetLogger

SetLogger sets the logger.

func (*KongV1Alpha1IngressClassParametersReconciler) SetupWithManager

SetupWithManager sets up the controller with the Manager.

type KongV1Alpha1KongCustomEntityReconciler

type KongV1Alpha1KongCustomEntityReconciler struct {
	client.Client

	Log              logr.Logger
	Scheme           *runtime.Scheme
	DataplaneClient  controllers.DataPlane
	CacheSyncTimeout time.Duration
	StatusQueue      *status.Queue

	IngressClassName           string
	DisableIngressClassLookups bool
}

KongV1Alpha1KongCustomEntityReconciler reconciles KongCustomEntity resources

func (*KongV1Alpha1KongCustomEntityReconciler) Reconcile

Reconcile processes the watched objects

func (*KongV1Alpha1KongCustomEntityReconciler) SetLogger

SetLogger sets the logger.

func (*KongV1Alpha1KongCustomEntityReconciler) SetupWithManager

func (r *KongV1Alpha1KongCustomEntityReconciler) SetupWithManager(mgr ctrl.Manager) error

SetupWithManager sets up the controller with the Manager.

type KongV1Alpha1KongVaultReconciler

type KongV1Alpha1KongVaultReconciler struct {
	client.Client

	Log              logr.Logger
	Scheme           *runtime.Scheme
	DataplaneClient  controllers.DataPlane
	CacheSyncTimeout time.Duration
	StatusQueue      *status.Queue

	IngressClassName           string
	DisableIngressClassLookups bool
}

KongV1Alpha1KongVaultReconciler reconciles KongVault resources

func (*KongV1Alpha1KongVaultReconciler) Reconcile

Reconcile processes the watched objects

func (*KongV1Alpha1KongVaultReconciler) SetLogger

SetLogger sets the logger.

func (*KongV1Alpha1KongVaultReconciler) SetupWithManager

func (r *KongV1Alpha1KongVaultReconciler) SetupWithManager(mgr ctrl.Manager) error

SetupWithManager sets up the controller with the Manager.

type KongV1Beta1KongConsumerGroupReconciler

type KongV1Beta1KongConsumerGroupReconciler struct {
	client.Client

	Log              logr.Logger
	Scheme           *runtime.Scheme
	DataplaneClient  controllers.DataPlane
	CacheSyncTimeout time.Duration
	StatusQueue      *status.Queue

	IngressClassName           string
	DisableIngressClassLookups bool
	ReferenceIndexers          ctrlref.CacheIndexers
}

KongV1Beta1KongConsumerGroupReconciler reconciles KongConsumerGroup resources

func (*KongV1Beta1KongConsumerGroupReconciler) Reconcile

Reconcile processes the watched objects

func (*KongV1Beta1KongConsumerGroupReconciler) SetLogger

SetLogger sets the logger.

func (*KongV1Beta1KongConsumerGroupReconciler) SetupWithManager

func (r *KongV1Beta1KongConsumerGroupReconciler) SetupWithManager(mgr ctrl.Manager) error

SetupWithManager sets up the controller with the Manager.

type KongV1KongClusterPluginReconciler

type KongV1KongClusterPluginReconciler struct {
	client.Client

	Log              logr.Logger
	Scheme           *runtime.Scheme
	DataplaneClient  controllers.DataPlane
	CacheSyncTimeout time.Duration

	IngressClassName           string
	DisableIngressClassLookups bool
	ReferenceIndexers          ctrlref.CacheIndexers
}

KongV1KongClusterPluginReconciler reconciles KongClusterPlugin resources

func (*KongV1KongClusterPluginReconciler) Reconcile

Reconcile processes the watched objects

func (*KongV1KongClusterPluginReconciler) SetLogger

SetLogger sets the logger.

func (*KongV1KongClusterPluginReconciler) SetupWithManager

func (r *KongV1KongClusterPluginReconciler) SetupWithManager(mgr ctrl.Manager) error

SetupWithManager sets up the controller with the Manager.

type KongV1KongConsumerReconciler

type KongV1KongConsumerReconciler struct {
	client.Client

	Log              logr.Logger
	Scheme           *runtime.Scheme
	DataplaneClient  controllers.DataPlane
	CacheSyncTimeout time.Duration
	StatusQueue      *status.Queue

	IngressClassName           string
	DisableIngressClassLookups bool
	ReferenceIndexers          ctrlref.CacheIndexers
}

KongV1KongConsumerReconciler reconciles KongConsumer resources

func (*KongV1KongConsumerReconciler) Reconcile

Reconcile processes the watched objects

func (*KongV1KongConsumerReconciler) SetLogger

func (r *KongV1KongConsumerReconciler) SetLogger(l logr.Logger)

SetLogger sets the logger.

func (*KongV1KongConsumerReconciler) SetupWithManager

func (r *KongV1KongConsumerReconciler) SetupWithManager(mgr ctrl.Manager) error

SetupWithManager sets up the controller with the Manager.

type KongV1KongPluginReconciler

type KongV1KongPluginReconciler struct {
	client.Client

	Log               logr.Logger
	Scheme            *runtime.Scheme
	DataplaneClient   controllers.DataPlane
	CacheSyncTimeout  time.Duration
	ReferenceIndexers ctrlref.CacheIndexers
}

KongV1KongPluginReconciler reconciles KongPlugin resources

func (*KongV1KongPluginReconciler) Reconcile

Reconcile processes the watched objects

func (*KongV1KongPluginReconciler) SetLogger

func (r *KongV1KongPluginReconciler) SetLogger(l logr.Logger)

SetLogger sets the logger.

func (*KongV1KongPluginReconciler) SetupWithManager

func (r *KongV1KongPluginReconciler) SetupWithManager(mgr ctrl.Manager) error

SetupWithManager sets up the controller with the Manager.

type NetV1IngressClassReconciler

type NetV1IngressClassReconciler struct {
	client.Client

	Log              logr.Logger
	Scheme           *runtime.Scheme
	DataplaneClient  controllers.DataPlane
	CacheSyncTimeout time.Duration
}

NetV1IngressClassReconciler reconciles IngressClass resources

func (*NetV1IngressClassReconciler) Reconcile

Reconcile processes the watched objects

func (*NetV1IngressClassReconciler) SetLogger

func (r *NetV1IngressClassReconciler) SetLogger(l logr.Logger)

SetLogger sets the logger.

func (*NetV1IngressClassReconciler) SetupWithManager

func (r *NetV1IngressClassReconciler) SetupWithManager(mgr ctrl.Manager) error

SetupWithManager sets up the controller with the Manager.

type NetV1IngressReconciler

type NetV1IngressReconciler struct {
	client.Client

	Log              logr.Logger
	Scheme           *runtime.Scheme
	DataplaneClient  controllers.DataPlane
	CacheSyncTimeout time.Duration

	DataplaneAddressFinder *dataplane.AddressFinder
	StatusQueue            *status.Queue

	IngressClassName           string
	DisableIngressClassLookups bool
	ReferenceIndexers          ctrlref.CacheIndexers
}

NetV1IngressReconciler reconciles Ingress resources

func (*NetV1IngressReconciler) Reconcile

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

Reconcile processes the watched objects

func (*NetV1IngressReconciler) SetLogger

func (r *NetV1IngressReconciler) SetLogger(l logr.Logger)

SetLogger sets the logger.

func (*NetV1IngressReconciler) SetupWithManager

func (r *NetV1IngressReconciler) SetupWithManager(mgr ctrl.Manager) error

SetupWithManager sets up the controller with the Manager.

Jump to

Keyboard shortcuts

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