File tree Expand file tree Collapse file tree 2 files changed +8
-8
lines changed
Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -202,7 +202,7 @@ type InferenceModelConditionType string
202202type InferenceModelConditionReason string
203203
204204const (
205- // This condition indicates if the model config is accepted, and if not, why.
205+ // ModelConditionAccepted indicates if the model config is accepted, and if not, why.
206206 //
207207 // Possible reasons for this condition to be True are:
208208 //
@@ -218,14 +218,14 @@ const (
218218 //
219219 ModelConditionAccepted InferenceModelConditionType = "Accepted"
220220
221- // Desired state. Model conforms to the state of the pool.
221+ // ModelReasonAccepted is the desired state. Model conforms to the state of the pool.
222222 ModelReasonAccepted InferenceModelConditionReason = "Accepted"
223223
224- // This reason is used when a given ModelName already exists within the pool.
224+ // ModelReasonNameInUse is used when a given ModelName already exists within the pool.
225225 // Details about naming conflict resolution are on the ModelName field itself.
226226 ModelReasonNameInUse InferenceModelConditionReason = "ModelNameInUse"
227227
228- // This reason is the initial state, and indicates that the controller has not yet reconciled the InferenceModel.
228+ // ModelReasonPending is the initial state, and indicates that the controller has not yet reconciled the InferenceModel.
229229 ModelReasonPending InferenceModelConditionReason = "Pending"
230230)
231231
Original file line number Diff line number Diff line change @@ -207,7 +207,7 @@ type InferencePoolConditionType string
207207type InferencePoolConditionReason string
208208
209209const (
210- // This condition indicates if the pool is ready to accept traffic, and if not, why.
210+ // PoolConditionReady indicates if the pool is ready to accept traffic, and if not, why.
211211 //
212212 // Possible reasons for this condition to be True are:
213213 //
@@ -223,13 +223,13 @@ const (
223223 //
224224 PoolConditionReady InferencePoolConditionType = "Ready"
225225
226- // Desired state. The pool and its components are initialized and ready for traffic.
226+ // PoolReasonReady is the desired state. The pool and its components are initialized and ready for traffic.
227227 PoolReasonReady InferencePoolConditionReason = "Ready"
228228
229- // This reason is used when the EPP has not yet passed health checks, or has started failing them.
229+ // PoolReasonEPPNotHealthy is used when the EPP has not yet passed health checks, or has started failing them.
230230 PoolReasonEPPNotHealthy InferencePoolConditionReason = "EndpointPickerNotHealthy"
231231
232- // This reason is the initial state, and indicates that the controller has not yet reconciled this pool.
232+ // PoolReasonPending is the initial state, and indicates that the controller has not yet reconciled this pool.
233233 PoolReasonPending InferencePoolConditionReason = "Pending"
234234)
235235
You can’t perform that action at this time.
0 commit comments