controllers

package
v3.1.1 Latest Latest
Warning

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

Go to latest
Published: Feb 29, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DataPlane

type DataPlane interface {
	DataPlaneClient
	DataPlaneStatusClient

	Listeners(ctx context.Context) ([]kong.ProxyListener, []kong.StreamListener, error)
}

DataPlane is a common interface that is used by reconcilers to interact with the Kong dataplane.

type DataPlaneClient

type DataPlaneClient interface {
	UpdateObject(obj client.Object) error
	DeleteObject(obj client.Object) error
	ObjectExists(obj client.Object) (bool, error)
}

DataPlaneClient is a common client interface that is used by reconcilers to interact with the Kong dataplane to perform CRUD operations on provided objects.

type DataPlaneStatusClient added in v3.1.0

type DataPlaneStatusClient interface {
	AreKubernetesObjectReportsEnabled() bool
	KubernetesObjectConfigurationStatus(obj client.Object) k8sobj.ConfigurationStatus
	KubernetesObjectIsConfigured(obj client.Object) bool
}

type OptionalNamespacedName added in v3.1.0

type OptionalNamespacedName = mo.Option[k8stypes.NamespacedName]

type Reconciler

type Reconciler interface {
	SetupWithManager(ctrl.Manager) error
	SetLogger(logr.Logger)
}

Directories

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

Jump to

Keyboard shortcuts

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