Support configurable TLS probes in the API and dashboard
This commit is contained in:
1 parent
0bde5627f0
commit
c7fdd2c430
38 files changed
+495
-203
No files matched your search
@@ -1,5 +1,7 @@
|
||||
package httpapi
|
||||
|
||||
import "cloudipvalidator/internal/inbound"
|
||||
|
||||
// Request/response bodies for the /api/v1 surface. Kept in one file since
|
||||
// they're small and mostly 1:1 with a single handler each.
|
||||
|
||||
@@ -86,10 +88,11 @@ type registerProberRequest struct {
|
||||
}
|
||||
|
||||
type proberAssignment struct {
|
||||
IPID int64 `json:"ip_id"`
|
||||
IPAddress string `json:"ip_address"`
|
||||
Ports []int `json:"ports"`
|
||||
ICMP bool `json:"icmp"`
|
||||
IPID int64 `json:"ip_id"`
|
||||
IPAddress string `json:"ip_address"`
|
||||
Ports []int `json:"ports"`
|
||||
ICMP bool `json:"icmp"`
|
||||
TLSChecks []inbound.TLSCheck `json:"tls_checks"`
|
||||
}
|
||||
|
||||
type proberResultDTO struct {
|
||||
|
||||
Reference in new issue
Block a user