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

Method IsProvisioned

modules/caddytls/automation.go:386–386  ·  view source on GitHub ↗

IsProvisioned reports whether the automation policy has been provisioned. A provisioned policy has an initialized CertMagic instance (i.e. ap.magic != nil).

()

Source from the content-addressed store, hash-verified

384// provisioned. A provisioned policy has an initialized CertMagic
385// instance (i.e. ap.magic != nil).
386func (ap *AutomationPolicy) IsProvisioned() bool { return ap.magic != nil }
387
388// RebuildCertMagic rebuilds the policy's CertMagic configuration from the
389// policy's already-populated fields (Issuers, Managers, storage, etc.) and

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected