dataplane

package
v2.3.0 Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2026 License: Apache-2.0 Imports: 41 Imported by: ? 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

Index

Constants

View Source
const (
	// ControllerName is the name used for logging and event recording.
	ControllerName = "aigw-dataplane"

	// DefaultIngressPort is the default port exposed by the AI Gateway ingress listener.
	DefaultIngressPort int32 = 8443

	// KonnectCertVolumeName is the name of the volume that holds the Konnect mTLS certificate.
	KonnectCertVolumeName = "konnect-cert"

	// KonnectCertMountPath is the path where the Konnect certificate Secret is mounted in the AI Gateway container.
	KonnectCertMountPath = "/var/konnect-client-certificate/"
)
View Source
const (
	// EnvKongClusterControlPlane is the AI Gateway environment variable for the Konnect control plane endpoint (host:port).
	EnvKongClusterControlPlane = "KONG_CLUSTER_CONTROL_PLANE"
	// EnvKongClusterServerName is the AI Gateway environment variable for the Konnect control plane TLS server name.
	EnvKongClusterServerName = "KONG_CLUSTER_SERVER_NAME"
	// EnvKongClusterTelemetryEndpoint is the AI Gateway environment variable for the Konnect telemetry endpoint (host:port).
	EnvKongClusterTelemetryEndpoint = "KONG_CLUSTER_TELEMETRY_ENDPOINT"
	// EnvKongClusterTelemetryServerName is the AI Gateway environment variable for the Konnect telemetry TLS server name.
	EnvKongClusterTelemetryServerName = "KONG_CLUSTER_TELEMETRY_SERVER_NAME"
	// EnvClientCertPath is the AI Gateway environment variable for the Konnect mTLS client certificate path.
	EnvClientCertPath = "KONG_CLUSTER_CERT"
	// EnvKonnectClientCertKey is the AI Gateway environment variable for the Konnect mTLS client key path.
	EnvKonnectClientCertKey = "KONG_CLUSTER_CERT_KEY"
)

Variables

This section is empty.

Functions

func RequiredHardcodedEnvVars

func RequiredHardcodedEnvVars() []corev1.EnvVar

RequiredHardcodedEnvVars returns a slice of corev1.EnvVar containing the required variables to boot and connect the AI Gateway to Konnect.

Types

type Reconciler

type Reconciler struct {
	client.Client

	// LoggingMode controls the format of log output.
	LoggingMode logging.Mode

	ClusterCASecretName      string
	ClusterCASecretNamespace string
	SecretLabelSelector      string
	CertTTL                  time.Duration

	// TypeConverter is injected via the TypeConverterProvider at controller
	// registration time.  It is used for both diff-before-apply and
	// structured-merge-diff based PodTemplateSpec merging.
	TypeConverter managedfields.TypeConverter
	// contains filtered or unexported fields
}

Reconciler reconciles an AIGatewayDataPlane object.

func (*Reconciler) Reconcile

func (r *Reconciler) Reconcile(ctx context.Context, aigwdp *aigatewayv1alpha1.AIGatewayDataPlane) (res ctrl.Result, err error)

Reconcile moves the current state of an AIGatewayDataPlane toward the desired state.

func (*Reconciler) SetupWithManager

func (r *Reconciler) SetupWithManager(ctx context.Context, 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