Skip to content

Commit a8c8088

Browse files
committed
rebase
1 parent 791498a commit a8c8088

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
@@ -70,9 +70,10 @@ type InferencePoolSpec struct {
7070
// +listMapKey=number
7171
TargetPorts []Port `json:"targetPorts"`
7272

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

7879
type Port struct {
@@ -85,15 +86,6 @@ type Port struct {
8586
Number int32 `json:"number"`
8687
}
8788

88-
// EndpointPickerConfig specifies the configuration needed by the proxy to discover and connect to the endpoint picker extension.
89-
// This type is intended to be a union of mutually exclusive configuration options that we may add in the future.
90-
type EndpointPickerConfig struct {
91-
// Extension configures an endpoint picker as an extension service.
92-
//
93-
// +kubebuilder:validation:Required
94-
ExtensionRef *Extension `json:"extensionRef,omitempty"`
95-
}
96-
9789
// Extension specifies how to configure an extension that runs the endpoint picker.
9890
type Extension struct {
9991
// 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)