Skip to content
Open
Show file tree
Hide file tree
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
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package endpointpicker
package inferencepool

import (
"context"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package endpointpicker
package inferencepool

import (
"context"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package endpointpicker
package inferencepool

import (
"context"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package endpointpicker
package inferencepool

import (
"encoding/json"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package endpointpicker
package inferencepool

import (
"fmt"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package endpointpicker
package inferencepool

import (
"context"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package endpointpicker
package inferencepool

import (
"testing"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package endpointpicker
package inferencepool

import (
"context"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package endpointpicker
package inferencepool

import (
"fmt"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package endpointpicker
package inferencepool

import (
"fmt"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package endpointpicker
package inferencepool

import (
"context"
Expand Down
4 changes: 2 additions & 2 deletions internal/kgateway/controller/start.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ import (

apisettings "github.com/kgateway-dev/kgateway/v2/api/settings"
"github.com/kgateway-dev/kgateway/v2/internal/kgateway/agentgatewaysyncer"
"github.com/kgateway-dev/kgateway/v2/internal/kgateway/agentgatewaysyncer/backend/inferencepool"
"github.com/kgateway-dev/kgateway/v2/internal/kgateway/extensions2"
"github.com/kgateway-dev/kgateway/v2/internal/kgateway/extensions2/plugins/inferenceextension/endpointpicker"
"github.com/kgateway-dev/kgateway/v2/internal/kgateway/extensions2/plugins/waypoint"
"github.com/kgateway-dev/kgateway/v2/internal/kgateway/extensions2/registry"
"github.com/kgateway-dev/kgateway/v2/internal/kgateway/krtcollections"
Expand Down Expand Up @@ -136,7 +136,7 @@ func NewControllerBuilder(ctx context.Context, cfg StartConfig) (*ControllerBuil
return nil, err
case exists:
setupLog.Info("adding the endpoint-picker inference extension")
gatedPlugins = append(gatedPlugins, endpointpicker.NewPlugin(ctx, cfg.CommonCollections))
gatedPlugins = append(gatedPlugins, inferencepool.NewPlugin(ctx, cfg.CommonCollections))
}
}
// Add the waypoint plugin if enabled
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
//go:build e2e

package inferenceextension
package inference_extension

import (
"context"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
//go:build e2e

package inferenceextension
package inference_extension

import (
_ "embed"
Expand Down