MCPcopy
hub / github.com/caddyserver/caddy / getConfigForName

Method getConfigForName

modules/caddytls/tls.go:853–856  ·  view source on GitHub ↗
(name string)

Source from the content-addressed store, hash-verified

851}
852
853func (t *TLS) getConfigForName(name string) *certmagic.Config {
854 ap := t.getAutomationPolicyForName(name)
855 return ap.magic
856}
857
858// getAutomationPolicyForName returns the first matching automation policy
859// for the given subject name. If no matching policy can be found, the

Callers 2

ProvisionMethod · 0.95

Calls 1

Tested by

no test coverage detected