StoragePool extracts the trusted certificates root from Caddy storage
| 380 | |
| 381 | // StoragePool extracts the trusted certificates root from Caddy storage |
| 382 | type StoragePool struct { |
| 383 | // The storage module where the trusted root certificates are stored. Absent |
| 384 | // explicit storage implies the use of Caddy default storage. |
| 385 | StorageRaw json.RawMessage `json:"storage,omitempty" caddy:"namespace=caddy.storage inline_key=module"` |
| 386 | |
| 387 | // The storage key/index to the location of the certificates |
| 388 | PEMKeys []string `json:"pem_keys,omitempty"` |
| 389 | |
| 390 | storage certmagic.Storage |
| 391 | pool *x509.CertPool |
| 392 | certs []*x509.Certificate |
| 393 | } |
| 394 | |
| 395 | // CaddyModule implements caddy.Module. |
| 396 | func (StoragePool) CaddyModule() caddy.ModuleInfo { |
nothing calls this directly
no outgoing calls
no test coverage detected