mirror of
https://github.com/hhftechnology/middleware-manager.git
synced 2026-07-12 09:28:24 +00:00
Add extensive unit tests across the codebase (api/errors, cache, many models tests, util/id_normalizer and others) to improve coverage and validate behavior. Replace ServiceWatcher.isRunning bool with atomic.Bool for safer concurrent access, update Start/Stop logic and related imports, and adjust service_watcher_test accordingly. Also update traefik_fetcher_test to use atomic counters for request counting and add minor import changes (sync/atomic). |
||
|---|---|---|
| .. | ||
| datasource.go | ||
| datasource_test.go | ||
| middleware.go | ||
| middleware_test.go | ||
| middleware_types.go | ||
| middleware_types_test.go | ||
| mtls.go | ||
| plugin.go | ||
| resource.go | ||
| security.go | ||
| security_test.go | ||
| service.go | ||
| service_test.go | ||
| traefik_api.go | ||
| traefik_api_test.go | ||
| traefik_types.go | ||
| traefik_types_test.go | ||