Add depot, attendant, jetfire, optimus, ota services with kustomize overlays

This commit is contained in:
Chris Rai
2026-01-31 15:35:07 -05:00
parent a0ec642ca1
commit 9a5cb2f547
404 changed files with 38817 additions and 16 deletions

View File

@@ -0,0 +1,21 @@
package handlers
import (
"net/http"
"time"
"github.com/fiskerinc/cloud-services/services/jetfire/services"
"github.com/fiskerinc/cloud-services/pkg/logger"
)
func ResetSchemaDefinitions(w http.ResponseWriter, r *http.Request) {
startTime := time.Now()
logger.Info().Msg("resetting tracked variables and schemas")
services.ResetCacheVars()
endTime := time.Now()
logger.Debug().Msgf("reset tracked variables and schemas, time taken: %fms; %d variables",
float64(endTime.UnixMilli()-startTime.UnixMilli()),
len(services.GetFeatureVars()),
)
}