LeafPEMLoader loads leaf certificates by decoding their PEM blocks directly. This has the advantage of not needing to store them on disk at all.
| 30 | // decoding their PEM blocks directly. This has the advantage |
| 31 | // of not needing to store them on disk at all. |
| 32 | type LeafPEMLoader struct { |
| 33 | Certificates []string `json:"certificates,omitempty"` |
| 34 | } |
| 35 | |
| 36 | // Provision implements caddy.Provisioner. |
| 37 | func (pl *LeafPEMLoader) Provision(ctx caddy.Context) error { |
nothing calls this directly
no outgoing calls
no test coverage detected