carlos / platform Public

Clone
git clone https://amadan.net/carlos/platform

Plain git — no account needed to clone.

Download

Download this file

1package host
2
3import "github.com/carlosframework/platform/internal/status"
4
5// proofWaitProbe feeds status.Probes.ProofWaits from the agent's proof gate:
6// the hosts held on their current build until a dev proof arrives, or until
7// the proof policy file loads. Private Metrics only, because they name hosts.
8func proofWaitProbe() []status.ProofWait {
9 var out []status.ProofWait
10 for _, w := range agentProofGate().Waits() {
11 out = append(out, status.ProofWait{Host: w.Host, Version: w.Version, SHA256: w.SHA256,
12 Prover: w.Prover, Reason: w.Reason, Since: w.Since})
13 }
14 return out
15}
16