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

Method onlyInternalIssuer

modules/caddytls/automation.go:455–461  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

453}
454
455func (ap *AutomationPolicy) onlyInternalIssuer() bool {
456 if len(ap.Issuers) != 1 {
457 return false
458 }
459 _, ok := ap.Issuers[0].(*InternalIssuer)
460 return ok
461}
462
463// isWildcardOrDefault determines if the subjects include any wildcard domains,
464// or is the "default" policy (i.e. no subjects) which is unbounded.

Callers 1

makeCertMagicConfigMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected