Skip to content

Commit bde16d2

Browse files
committed
rebase
1 parent 9eaa297 commit bde16d2

File tree

8 files changed

+30
-151
lines changed

8 files changed

+30
-151
lines changed

api/v1/inferencepool_types.go

Lines changed: 4 additions & 12 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,15 +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-
//
94-
// +kubebuilder:validation:Required
95-
ExtensionRef *Extension `json:"extensionRef,omitempty"`
96-
}
97-
9890
// Extension specifies how to configure an extension that runs the endpoint picker.
9991
type Extension struct {
10092
// 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.

apix/v1alpha2/inferencepool_types.go

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -69,14 +69,6 @@ type InferencePoolSpec struct {
6969
// +kubebuilder:validation:Required
7070
TargetPortNumber int32 `json:"targetPortNumber"`
7171

72-
// EndpointPickerConfig specifies the configuration needed by the proxy to discover and connect to the endpoint
73-
// picker service that picks endpoints for the requests routed to this pool.
74-
EndpointPickerConfig `json:",inline"`
75-
}
76-
77-
// EndpointPickerConfig specifies the configuration needed by the proxy to discover and connect to the endpoint picker extension.
78-
// This type is intended to be a union of mutually exclusive configuration options that we may add in the future.
79-
type EndpointPickerConfig struct {
8072
// Extension configures an endpoint picker as an extension service.
8173
//
8274
// +kubebuilder:validation:Required

apix/v1alpha2/zz_generated.deepcopy.go

Lines changed: 5 additions & 21 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.

client-go/applyconfiguration/apix/v1alpha2/endpointpickerconfig.go

Lines changed: 0 additions & 39 deletions
This file was deleted.

client-go/applyconfiguration/apix/v1alpha2/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.

client-go/applyconfiguration/utils.go

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

0 commit comments

Comments
 (0)