[UI - Watchers] CRUD Watcherng
Adapt context explorer to watchers Go version
Get the stack info from
app_infos. If we got no info about the stack we're using (python or go), or if it's
python, keep using the routes we use for now. If we got the info that we're using a
gostack, use new watchers routes (https://doc.canopsis.net/guide-developpement/watcherng/api_v2_watcherng/)
"Go" watchers got a different structure. Adapt the watcher creation form, according to the stack we got. If it's python, keep it as it is.
If it's Go:
Replace filter editor to an
State compute methodselector. For now, we only got
worstmethod. Select it by default.
Output templatefield. Use the same type of field we got, for example, on webhooks form