Composable monorepo CI fixes: - Add empty go.sum.tmpl files for pkg, service, worker, and cli components - Fix Dockerfile.tmpl glob patterns (COPY go.work.sum* is invalid in Kaniko) - Add deps step to CI that runs go work sync and go mod tidy before builds - Fix scalar-go dependency version (v0.1.2 doesn't exist, use v0.13.0) Health endpoint improvements: - Add registry health check (zot OCI /v2/ endpoint) - Add health metrics for CI, registry, and Git - Add /health/ci endpoint for Woodpecker health Visual verification scaffolding: - Add Playwright pod and scripts ConfigMap - Add vision.md and implementation breakdown plan Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
13 lines
353 B
Go
13 lines
353 B
Go
package domain
|
|
|
|
import "time"
|
|
|
|
// RegistryStatus represents the health status of a container registry.
|
|
type RegistryStatus struct {
|
|
Healthy bool `json:"healthy"`
|
|
URL string `json:"url"`
|
|
Latency string `json:"latency,omitempty"`
|
|
Error string `json:"error,omitempty"`
|
|
LastChecked time.Time `json:"last_checked"`
|
|
}
|