Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions api/v1alpha2/inferencepool_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -80,14 +80,18 @@ type EndpointPickerConfig struct {

// Extension specifies how to configure an extension that runs the endpoint picker.
type Extension struct {
// Reference is a reference to a service extension.
// Reference is a reference to a service extension. When ExtensionReference is invalid,
// a 5XX status code MUST be returned for the request that would have otherwise been routed
// to the invalid backend.
ExtensionReference `json:",inline"`

// ExtensionConnection configures the connection between the gateway and the extension.
ExtensionConnection `json:",inline"`
}

// ExtensionReference is a reference to the extension deployment.
// ExtensionReference is a reference to the extension deployment. When ExtensionReference is invalid,
// a 5XX status code MUST be returned for the request that would have otherwise been routed to the
// invalid backend.
type ExtensionReference struct {
// Group is the group of the referent.
// The default value is "", representing the Core API group.
Expand Down