specialized

package
v2.1.8 Latest Latest
Warning

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

Go to latest
Published: Jul 1, 2026 License: Apache-2.0 Imports: 37 Imported by: 1 module, 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 (
	// AIGatewayCleanupFinalizer is a finalizer which indicates that cleanup
	// needs to be processed for an AIGateway resource prior to garbage
	// collection.
	AIGatewayCleanupFinalizer AIGatewayFinalizer = "gateway-operator.konghq.com/aigateway-cleanup"

	// AIGatewayEgressServicePort defines a static Kubernetes endpoint port
	// that can be attached to all Services, HTTPRoutes, and other managed
	// resources in an AIGateway.
	AIGatewayEgressServicePort int = 80
)

Variables

This section is empty.

Functions

This section is empty.

Types

type AICloudPromptDecoratorConfig

type AICloudPromptDecoratorConfig struct {
	Prompts *AICloudPromptDecoratorPrompts `json:"prompts,omitempty"`
}

AICloudPromptDecoratorConfig is a Golang-conversion of the 'AI Prompt Decorator' plugin configuration, from the AI family of Kong plugins.

type AICloudPromptDecoratorPrompts

type AICloudPromptDecoratorPrompts struct {
	Prepend []operatorv1alpha1.LLMPrompt `json:"prepend,omitempty"`
	Append  []operatorv1alpha1.LLMPrompt `json:"append,omitempty"`
}

AICloudPromptDecoratorPrompts is a Golang-conversion of the 'Prompts' configuration for the AI family of Kong plugins.

type AICloudProviderAuthConfig

type AICloudProviderAuthConfig struct {
	HeaderName  *string `json:"header_name,omitempty"`
	HeaderValue *string `json:"header_value,omitempty"`
}

AICloudProviderAuthConfig is a Golang-conversion of the 'Auth' configuration for the AI family of Kong plugins.

type AICloudProviderLLMConfig

type AICloudProviderLLMConfig struct {
	RouteType *string                       `json:"route_type,omitempty"`
	Auth      *AICloudProviderAuthConfig    `json:"auth,omitempty"`
	Logging   *AICloudProviderLoggingConfig `json:"logging,omitempty"`
	Model     *AICloudProviderModelConfig   `json:"model,omitempty"`
}

AICloudProviderLLMConfig is a Golang-conversion of the 'LLM' configuration for the AI family of Kong plugins.

type AICloudProviderLoggingConfig

type AICloudProviderLoggingConfig struct {
	LogStatistics bool `json:"log_statistics"`
	LogPayloads   bool `json:"log_payloads"`
}

AICloudProviderLoggingConfig is a Golang-conversion of the 'Logging' configuration for the AI family of Kong plugins.

type AICloudProviderModelConfig

type AICloudProviderModelConfig struct {
	Provider *string                       `json:"provider,omitempty"`
	Name     *string                       `json:"name,omitempty"`
	Options  *AICloudProviderOptionsConfig `json:"options,omitempty"`
}

AICloudProviderModelConfig is a Golang-conversion of the 'Model' configuration for the AI family of Kong plugins.

type AICloudProviderOptionsConfig

type AICloudProviderOptionsConfig struct {
	MaxTokens   *int    `json:"max_tokens,omitempty"`
	Temperature *string `json:"temperature,omitempty"`
}

AICloudProviderOptionsConfig is a Golang-conversion of the 'Options' configuration for the AI family of Kong plugins.

type AIGatewayFinalizer

type AIGatewayFinalizer string

AIGatewayFinalizer defines finalizers added by gateway controller for AIGateway resources to ensure proper cleanup of owned resources.

type AIGatewayReconciler

type AIGatewayReconciler struct {
	client.Client

	ControllerOptions controller.Options
	LoggingMode       logging.Mode
}

AIGatewayReconciler reconciles a AIGateway object

func (*AIGatewayReconciler) Reconcile

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

Reconcile reconciles the AIGateway resource.

func (*AIGatewayReconciler) SetupWithManager

func (r *AIGatewayReconciler) 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