Skip to content

Commit 98fe3bf

Browse files
committed
rebase
1 parent 4e15e91 commit 98fe3bf

File tree

3 files changed

+21
-75
lines changed

3 files changed

+21
-75
lines changed

api/v1/inferencepool_types.go

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -71,9 +71,10 @@ type InferencePoolSpec struct {
7171
// +listMapKey=number
7272
TargetPorts []Port `json:"targetPorts"`
7373

74-
// EndpointPickerConfig specifies the configuration needed by the proxy to discover and connect to the endpoint
75-
// picker service that picks endpoints for the requests routed to this pool.
76-
EndpointPickerConfig `json:",inline"`
74+
// Extension configures an endpoint picker as an extension service.
75+
//
76+
// +kubebuilder:validation:Required
77+
ExtensionRef *Extension `json:"extensionRef,omitempty"`
7778
}
7879

7980
type Port struct {
@@ -86,13 +87,6 @@ type Port struct {
8687
Number int32 `json:"number"`
8788
}
8889

89-
// EndpointPickerConfig specifies the configuration needed by the proxy to discover and connect to the endpoint picker extension.
90-
// This type is intended to be a union of mutually exclusive configuration options that we may add in the future.
91-
type EndpointPickerConfig struct {
92-
// Extension configures an endpoint picker as an extension service.
93-
ExtensionRef *Extension `json:"extensionRef,omitempty"`
94-
}
95-
9690
// Extension specifies how to configure an extension that runs the endpoint picker.
9791
type Extension struct {
9892
// Group is the group of the referent.

api/v1/zz_generated.deepcopy.go

Lines changed: 13 additions & 61 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

client-go/applyconfiguration/api/v1/inferencepoolspec.go

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)