Support configurable TLS probes in the API and dashboard

This commit is contained in:
ayurishchev committed 2026-11-20 21:15:22 +03:00
1 parent 0bde5627f0
commit c7fdd2c430
38 files changed
+495 -203

No files matched your search

+4 -5
View File
@@ -4,6 +4,7 @@ import (
"time"
"cloudipvalidator/internal/db"
"cloudipvalidator/internal/inbound"
)
// DTOs for the admin queue-management and dynamic-config endpoints
@@ -254,12 +255,10 @@ type putOrchestratorSettingsRequest struct {
SelfCheckMaxAttempts *int `json:"self_check_max_attempts"`
}
// inboundChecksDTO doubles as both the GET response and the PUT request
// body for /api/v1/admin/config/inbound-checks. Same field shape as
// proberAssignment.Ports/ICMP (dto.go).
type inboundChecksDTO struct {
Ports []int `json:"ports"`
ICMP bool `json:"icmp"`
Ports []int `json:"ports"`
ICMP bool `json:"icmp"`
TLSChecks []inbound.TLSCheck `json:"tls_checks"`
}
// autoCycleDTO is the status+parameters object returned by every