Merge remote-tracking branch 'pr/2131' into release/v0.1.133
# Conflicts: # backend/cmd/server/wire_gen.go # backend/internal/config/config.go # backend/internal/service/gateway_service.go # backend/internal/service/pricing_service.go # backend/internal/service/wire.go # deploy/config.example.yaml # frontend/src/views/admin/AccountsView.vue
This commit is contained in:
@@ -230,6 +230,12 @@ func AccountFromServiceShallow(a *service.Account) *Account {
|
||||
OverloadUntil: a.OverloadUntil,
|
||||
TempUnschedulableUntil: a.TempUnschedulableUntil,
|
||||
TempUnschedulableReason: a.TempUnschedulableReason,
|
||||
KiroQuotaState: a.KiroQuotaState,
|
||||
KiroQuotaReason: a.KiroQuotaReason,
|
||||
KiroQuotaResetAt: a.KiroQuotaResetAt,
|
||||
KiroRuntimeState: a.KiroRuntimeState,
|
||||
KiroRuntimeReason: a.KiroRuntimeReason,
|
||||
KiroRuntimeResetAt: a.KiroRuntimeResetAt,
|
||||
SessionWindowStart: a.SessionWindowStart,
|
||||
SessionWindowEnd: a.SessionWindowEnd,
|
||||
SessionWindowStatus: a.SessionWindowStatus,
|
||||
|
||||
@@ -183,6 +183,12 @@ type Account struct {
|
||||
|
||||
TempUnschedulableUntil *time.Time `json:"temp_unschedulable_until"`
|
||||
TempUnschedulableReason string `json:"temp_unschedulable_reason"`
|
||||
KiroQuotaState string `json:"kiro_quota_state,omitempty"`
|
||||
KiroQuotaReason string `json:"kiro_quota_reason,omitempty"`
|
||||
KiroQuotaResetAt *time.Time `json:"kiro_quota_reset_at,omitempty"`
|
||||
KiroRuntimeState string `json:"kiro_runtime_state,omitempty"`
|
||||
KiroRuntimeReason string `json:"kiro_runtime_reason,omitempty"`
|
||||
KiroRuntimeResetAt *time.Time `json:"kiro_runtime_reset_at,omitempty"`
|
||||
|
||||
SessionWindowStart *time.Time `json:"session_window_start"`
|
||||
SessionWindowEnd *time.Time `json:"session_window_end"`
|
||||
|
||||
Reference in New Issue
Block a user