MCPcopy Create free account
hub / github.com/evenh/intercert / Submit

Method Submit

client/queue.go:31–42  ·  view source on GitHub ↗

Submit a job to the queue for processing

()

Source from the content-addressed store, hash-verified

29
30// Submit a job to the queue for processing
31func (r *CertReq) Submit() {
32 var operation string
33
34 if r.Renewal {
35 operation = "renewal"
36 } else {
37 operation = "initial certificates"
38 }
39
40 log.Infof("Submitting '%s' to job queue for %s", r.DNSName, operation)
41 JobQueue <- *r
42}
43
44// CertWorker is the actual worker routine that eats away from the queue
45func CertWorker(id int, client api.CertificateIssuerClient, storage *CertStorage) {

Callers 2

watchForEventsFunction · 0.95
ensureCertsFromConfigFunction · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected