package
0.0.0-20250208023750-2ddeb7052770
Repository: https://github.com/envoyproxy/ai-gateway.git
Documentation: pkg.go.dev

# Constants

Reserved for https://github.com/envoyproxy/ai-gateway/issues/90.
No description provided by the author
AIGatewayFilterMetadataNamespace is the namespace for the ai-gateway filter metadata.
AIModelHeaderKey is the header key whose value is extracted from the request by the ai-gateway.
APISchemaAWSBedrock is the AWS Bedrock schema.
APISchemaOpenAI is the OpenAI schema.
No description provided by the author
No description provided by the author
No description provided by the author
LLMRequestCostTypeCEL is for calculating the cost using the CEL expression.
LLMRequestCostTypeInputToken is the cost type of the input token.
LLMRequestCostTypeOutputToken is the cost type of the output token.
LLMRequestCostTypeTotalToken is the cost type of the total token.

# Variables

AddToScheme adds the types in this group-version to the given scheme.
SchemeBuilder is used to add go types to the GroupVersionKind scheme.

# Structs

No description provided by the author
No description provided by the author
AIGatewayRoute combines multiple AIServiceBackends and attaching them to Gateway(s) resources.
AIGatewayRouteList contains a list of AIGatewayRoute.
AIGatewayRouteRule is a rule that defines the routing behavior of the AIGatewayRoute.
AIGatewayRouteRuleBackendRef is a reference to a AIServiceBackend with a weight.
No description provided by the author
AIGatewayRouteSpec details the AIGatewayRoute configuration.
AIServiceBackend is a resource that represents a single backend for AIGatewayRoute.
AIServiceBackendList contains a list of AIServiceBackends.
AIServiceBackendSpec details the AIServiceBackend configuration.
AWSCredentialsFile specifies the credentials file to use for the AWS provider.
AWSOIDCExchangeToken specifies credentials to obtain oidc token from a sso server.
BackendSecurityPolicy specifies configuration for authentication and authorization rules on the traffic exiting the gateway to the backend.
BackendSecurityPolicyAPIKey specifies the API key.
BackendSecurityPolicyAWSCredentials contains the supported authentication mechanisms to access aws.
BackendSecurityPolicyList contains a list of BackendSecurityPolicy.
BackendSecurityPolicySpec specifies authentication rules on access the provider from the Gateway.
LLMRequestCost configures each request cost.
VersionedAPISchema defines the API schema of either AIGatewayRoute (the input) or AIServiceBackend (the output).

# Type aliases

AIGatewayFilterConfigType specifies the type of the filter configuration.
APISchema defines the API schema.
BackendSecurityPolicyType specifies the type of auth mechanism used to access a backend.
LLMRequestCostType specifies the type of the LLMRequestCost.