File tree 2 files changed +8
-8
lines changed
2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -202,7 +202,7 @@ type InferenceModelConditionType string
202
202
type InferenceModelConditionReason string
203
203
204
204
const (
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.
206
206
//
207
207
// Possible reasons for this condition to be True are:
208
208
//
@@ -218,14 +218,14 @@ const (
218
218
//
219
219
ModelConditionAccepted InferenceModelConditionType = "Accepted"
220
220
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.
222
222
ModelReasonAccepted InferenceModelConditionReason = "Accepted"
223
223
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.
225
225
// Details about naming conflict resolution are on the ModelName field itself.
226
226
ModelReasonNameInUse InferenceModelConditionReason = "ModelNameInUse"
227
227
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.
229
229
ModelReasonPending InferenceModelConditionReason = "Pending"
230
230
)
231
231
Original file line number Diff line number Diff line change @@ -207,7 +207,7 @@ type InferencePoolConditionType string
207
207
type InferencePoolConditionReason string
208
208
209
209
const (
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.
211
211
//
212
212
// Possible reasons for this condition to be True are:
213
213
//
@@ -223,13 +223,13 @@ const (
223
223
//
224
224
PoolConditionReady InferencePoolConditionType = "Ready"
225
225
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.
227
227
PoolReasonReady InferencePoolConditionReason = "Ready"
228
228
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.
230
230
PoolReasonEPPNotHealthy InferencePoolConditionReason = "EndpointPickerNotHealthy"
231
231
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.
233
233
PoolReasonPending InferencePoolConditionReason = "Pending"
234
234
)
235
235
You can’t perform that action at this time.
0 commit comments