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

Method Provision

modules/caddytls/ondemand.go:113–117  ·  view source on GitHub ↗
(ctx caddy.Context)

Source from the content-addressed store, hash-verified

111}
112
113func (p *PermissionByHTTP) Provision(ctx caddy.Context) error {
114 p.logger = ctx.Logger()
115 p.replacer = caddy.NewReplacer()
116 return nil
117}
118
119func (p PermissionByHTTP) CertificateAllowed(ctx context.Context, name string) error {
120 // run replacer on endpoint URL (for environment variables) -- return errors to prevent surprises (#5036)

Callers 1

ProvisionMethod · 0.95

Calls 1

LoggerMethod · 0.45

Tested by

no test coverage detected