MCPcopy Create free account

hub / github.com/caddyserver/caddy / functions

Functions2,647 in github.com/caddyserver/caddy

↓ 2 callersMethodstorageKeyIntermediateCert
()
modules/caddypki/ca.go:419
↓ 2 callersMethodstorageKeyIntermediateKey
()
modules/caddypki/ca.go:423
↓ 2 callersMethodstorageKeyRootKey
()
modules/caddypki/ca.go:415
↓ 2 callersFunctionstrictUntrustedClientIp
strictUntrustedClientIp iterates through the list of client IP headers, parses them from right-to-left, and returns the first valid IP address that is
modules/caddyhttp/server.go:1135
↓ 2 callersFunctionsuppressConsoleEncoderTimestamp
(enc zapcore.Encoder)
modules/logging/journaldencoder.go:197
↓ 2 callersFunctiontlsCertFromCertAndKeyPEMBundle
(bundle []byte)
modules/caddytls/folderloader.go:106
↓ 2 callersFunctiontrace
()
modules/caddyhttp/errors.go:106
↓ 2 callersMethodtransformHidePaths
transformHidePaths performs replacements for all the elements of fsrv.Hide and makes them absolute paths (if they contain a path separator), then retu
modules/caddyhttp/fileserver/staticfiles.go:666
↓ 2 callersFunctiontrimPathPrefix
trimPathPrefix is like strings.TrimPrefix, but customized for advanced URI path prefix matching. The string prefix will be trimmed from the beginning
modules/caddyhttp/rewrite/rewrite.go:408
↓ 2 callersMethodtryAgain
tryAgain takes the time that the handler was initially invoked, the amount of retries already performed, as well as any error currently obtained, and
modules/caddyhttp/reverseproxy/reverseproxy.go:1324
↓ 2 callersFunctiontryDuration
(val any, warnings *[]caddyconfig.Warning)
caddyconfig/httpcaddyfile/httptype.go:1677
↓ 2 callersFunctiontryInt
tryInt tries to convert val to an integer. If it fails, it downgrades the error to a warning and returns 0.
caddyconfig/httpcaddyfile/httptype.go:1661
↓ 2 callersFunctiontryString
(val any, warnings *[]caddyconfig.Warning)
caddyconfig/httpcaddyfile/httptype.go:1669
↓ 2 callersMethodunmarshalCaddyfile
(d *caddyfile.Dispenser)
modules/caddytls/capools.go:539
↓ 2 callersFunctionunsyncedStop
unsyncedStop stops ctx from running, but has no locking around ctx. It is a no-op if ctx has a nil cfg. If any app returns an error when stopping, it
caddy.go:724
↓ 2 callersMethodupdate
()
modules/caddyhttp/reverseproxy/metrics.go:88
↓ 2 callersMethodupdateKeyList
updateKeyList updates the list of ECH keys the std lib uses to serve ECH. It must be called inside a write lock on ech.configsMu.
modules/caddytls/ech.go:300
↓ 2 callersFunctionusefulModTime
Indicates whether a file's modification time is useful for validator generation purposes (i.e. inclusion in ETag and Last-Modified headers). See issue
modules/caddyhttp/fileserver/staticfiles.go:743
↓ 2 callersMethodvalidate
validate checks if the given challenge is supported.
modules/caddypki/acmeserver/challenges.go:21
↓ 2 callersMethodvalidate
()
modules/caddyhttp/headers/headers.go:176
↓ 2 callersMethodverifyConnection
verifyConnection is for use as a tls.Config.VerifyConnection callback to do custom client certificate verification. It is intended for installation on
modules/caddytls/connpolicy.go:899
↓ 2 callersMethodwarnIfPolicyAllowsAll
()
modules/caddypki/acmeserver/acmeserver.go:220
↓ 2 callersMethodwrapLogger
wrapLogger wraps logger in one or more logger named according to user preferences for the given host.
modules/caddyhttp/logging.go:93
↓ 2 callersFunctionwrapRoute
wrapRoute wraps route with a middleware and handler so that it can be chained in and defer evaluation of its matchers to request-time. Like wrapMiddle
modules/caddyhttp/routes.go:256
↓ 2 callersMethodwriteHeader
writeHeader populate header wire data in buf, it abuses buffer.Bytes() modification
modules/caddyhttp/reverseproxy/fastcgi/writer.go:120
↓ 2 callersMethodwriteRecord
(recType uint8, content []byte)
modules/caddyhttp/reverseproxy/fastcgi/writer.go:31
↓ 2 callersFunctionwriteStringToTempFileOrDie
(t *testing.T, str string)
caddyconfig/caddyfile/parse_test.go:793
↓ 1 callersFunctionActiveContext
ActiveContext returns the currently-active context. This function is experimental and might be changed or removed in the future.
caddy.go:1197
↓ 1 callersMethodAllInternalSubjects
AllInternalSubjects returns true if all the subjects on this policy are internal.
modules/caddytls/automation.go:426
↓ 1 callersFunctionAllMatchingCertificates
AllMatchingCertificates returns the list of all certificates in the cache which could be used to satisfy the given SAN.
modules/caddytls/tls.go:881
↓ 1 callersFunctionAppConfigDir
AppConfigDir returns the directory where to store user's config. If XDG_CONFIG_HOME is set, it returns: $XDG_CONFIG_HOME/caddy. Otherwise, os.UserCon
storage.go:86
↓ 1 callersMethodAuthenticate
(http.ResponseWriter, *http.Request)
modules/caddyhttp/caddyauth/caddyauth.go:138
↓ 1 callersMethodBreadcrumbs
Breadcrumbs returns l.Path where every element maps the link to the text to display.
modules/caddyhttp/fileserver/browsetplcontext.go:192
↓ 1 callersMethodBuffer
()
modules/caddyhttp/responsewriter.go:320
↓ 1 callersMethodCELLibrary
CELLibrary creates a cel.Library which makes it possible to use the target object within CEL expression matchers.
modules/caddyhttp/celmatcher.go:369
↓ 1 callersFunctionCIDRExpressionToPrefix
CIDRExpressionToPrefix takes a string which could be either a CIDR expression or a single IP address, and returns a netip.Prefix.
modules/caddyhttp/ip_range.go:106
↓ 1 callersMethodCaddyfiles
Caddyfiles returns the list of config files from which tokens in the current server block were loaded.
caddyconfig/httpcaddyfile/directives.go:223
↓ 1 callersMethodCertPool
CertPool implements CA.
modules/caddytls/capools.go:820
↓ 1 callersMethodCertPool
CertPool implements CA.
modules/caddytls/capools.go:941
↓ 1 callersMethodCertificateAllowed
CertificateAllowed returns nil if a certificate for the given name is allowed to be either obtained from an issuer or loaded from storage on-demand.
modules/caddytls/ondemand.go:72
↓ 1 callersMethodCertificates
()
modules/caddytls/capools.go:44
↓ 1 callersMethodCheck
(entry zapcore.Entry, ce *zapcore.CheckedEntry)
internal/logbuffer.go:51
↓ 1 callersFunctionCipherSuiteNameSupported
CipherSuiteNameSupported returns true if name is a supported cipher suite.
modules/caddytls/values.go:28
↓ 1 callersFunctionClearLastConfigIfDifferent
ClearLastConfigIfDifferent clears the recorded last-config if the provided source file/adapter do not match the recorded last-config. If both srcFile
caddy.go:1273
↓ 1 callersMethodClone
Clone is part of the zapcore.ObjectEncoder interface.
modules/logging/appendencoder.go:313
↓ 1 callersMethodClone
Clone is part of the zapcore.ObjectEncoder interface. We don't use it as of Oct 2019 (v2 beta 7), I'm not really sure what it'd be useful for in our c
modules/logging/filterencoder.go:440
↓ 1 callersMethodClone
Clone implements zapcore.Encoder.
modules/logging/journaldencoder.go:157
↓ 1 callersMethodCloudEvent
Returns the module that originated the event. May be nil, usually if caddy core emits the event. CloudEvent exports event e as a structure that, when
caddy.go:1158
↓ 1 callersFunctionCommands
Commands returns a list of commands initialised by RegisterCommand
cmd/commands.go:83
↓ 1 callersMethodConvertToType
(typeVal ref.Type)
modules/caddyhttp/celmatcher.go:330
↓ 1 callersFunctionCreateTestingTransport
CreateTestingTransport creates a testing transport that forces call dialing connections to happen locally
caddytest/caddytest.go:337
↓ 1 callersMethodCustomTemplateFunctions
CustomTemplateFunctions should return the mapping from custom function names to implementations.
modules/caddyhttp/templates/templates.go:399
↓ 1 callersFunctionDecodeHash
DecodeHash parses an Argon2id PHC string into an Argon2idHash struct and returns the struct along with the derived key.
modules/caddyhttp/caddyauth/argon2id.go:112
↓ 1 callersMethodDefaultBufferSizes
DefaultBufferSizes returns the default buffer sizes for requests and responses, respectively if buffering isn't enabled.
modules/caddyhttp/reverseproxy/reverseproxy.go:1766
↓ 1 callersMethodDeleteByPrefix
DeleteByPrefix removes all static variables with keys starting with the given prefix
replacer.go:126
↓ 1 callersMethodDestruct
()
usagepool.go:221
↓ 1 callersMethodEnableH2C
()
modules/caddyhttp/reverseproxy/reverseproxy.go:1746
↓ 1 callersMethodEnableTLS
EnableTLS enables TLS within the transport if it is not already, using the provided value as a basis for the TLS config.
modules/caddyhttp/reverseproxy/reverseproxy.go:1740
↓ 1 callersMethodEnabled
(lvl zapcore.Level)
internal/logbuffer.go:43
↓ 1 callersFunctionError
(_ error, _ int)
notify/notify_other.go:23
↓ 1 callersMethodFakeHash
()
modules/caddyhttp/caddyauth/basicauth.go:280
↓ 1 callersMethodFilter
Filter filters the input field.
modules/logging/filters.go:525
↓ 1 callersMethodFinalizeUnmarshalCaddyfile
FinalizeUnmarshalCaddyfile finalizes the Caddyfile parsing which requires having an httpcaddyfile.Helper to function, to parse subroutes. EXPERIMENTA
modules/caddyhttp/intercept/intercept.go:294
↓ 1 callersMethodFinalizeUnmarshalCaddyfile
FinalizeUnmarshalCaddyfile finalizes the Caddyfile parsing which requires having an httpcaddyfile.Helper to function, to setup hidden Caddyfiles.
modules/caddyhttp/fileserver/caddyfile.go:207
↓ 1 callersFunctionGenerateRandomBytes
GenerateRandomBytes returns securely generated random bytes. It will return an error if the system's secure random number generator fails to function
caddytest/integration/stream_test.go:415
↓ 1 callersFunctionGenerateRandomString
GenerateRandomString returns a securely generated random string. It will return an error if the system's secure random number generator fails to funct
caddytest/integration/stream_test.go:430
↓ 1 callersMethodGet
Get will get a filesystem with a given key
internal/filesystems/map.go:60
↓ 1 callersMethodGetCertificate
(ctx context.Context, hello *tls.ClientHelloInfo)
modules/caddytls/certmanagers.go:45
↓ 1 callersMethodGetContext
GetContext gets the value of a key in the context map.
caddyconfig/caddyfile/dispenser.go:482
↓ 1 callersMethodGetRecords
GetRecords gets DNS records from the zone.
caddytest/integration/mockdns_test.go:59
↓ 1 callersMethodGroupRoutes
GroupRoutes adds the routes (caddyhttp.Route type) in vals to the same group, if there is more than one route in vals.
caddyconfig/httpcaddyfile/directives.go:309
↓ 1 callersMethodHandleHTTPChallenge
HandleHTTPChallenge ensures that the ACME HTTP challenge or ZeroSSL HTTP validation request is handled for the certificate named by r.Host, if it is a
modules/caddytls/tls.go:766
↓ 1 callersMethodHead
Head issues a HEAD request to the fcgi responder.
modules/caddyhttp/reverseproxy/fastcgi/client.go:275
↓ 1 callersMethodHijack
()
modules/caddyhttp/responsewriter.go:255
↓ 1 callersMethodHumanModTime
HumanModTime returns the modified time of the file as a human-readable string given by format.
modules/caddyhttp/fileserver/browsetplcontext.go:316
↓ 1 callersMethodHumanSize
HumanSize returns the size of the file as a human-readable string in IEC format (i.e. power of 2 or base 1024).
modules/caddyhttp/fileserver/browsetplcontext.go:297
↓ 1 callersMethodIdentityCredentials
IdentityCredentials returns this instance's configured, managed identity credentials that can be used in TLS client authentication.
admin.go:649
↓ 1 callersMethodInitialize
Initialize provides the STEK configuration to the STEK module so that it can obtain and manage keys accordingly. It returns the initial key(s) to use.
modules/caddytls/sessiontickets.go:232
↓ 1 callersMethodIntermediateKey
IntermediateKey returns the CA's intermediate private key.
modules/caddypki/ca.go:209
↓ 1 callersMethodIsProvisioned
IsProvisioned reports whether the automation policy has been provisioned. A provisioned policy has an initialized CertMagic instance (i.e. ap.magic !=
modules/caddytls/automation.go:386
↓ 1 callersFunctionIsWriterStandardStream
IsWriterStandardStream returns true if the input is a writer-opener to a standard stream (stdout, stderr).
logging.go:282
↓ 1 callersMethodIssuerKey
IssuerKey returns the unique issuer key for the configured CA endpoint.
modules/caddytls/acmeissuer.go:341
↓ 1 callersMethodListenQUIC
ListenQUIC returns a http3.QUICEarlyListener suitable for use in a Caddy module. The network will be transformed into a QUIC-compatible type if the s
listeners.go:434
↓ 1 callersMethodLoadCertificates
()
modules/caddytls/tls.go:1011
↓ 1 callersMethodLoadLeafCertificates
LoadLeafCertificates returns the certificates contained in pl.
modules/caddytls/leafpemloader.go:64
↓ 1 callersMethodLoadLeafCertificates
()
modules/caddytls/connpolicy.go:1071
↓ 1 callersMethodLoadLeafCertificates
LoadLeafCertificates returns the certificates to be loaded by fl.
modules/caddytls/leaffileloader.go:64
↓ 1 callersMethodLoadLeafCertificates
LoadLeafCertificates loads all the leaf certificates in the directories listed in fl from all files ending with .pem.
modules/caddytls/leaffolderloader.go:68
↓ 1 callersMethodLogger
Logger returns a logger that is intended for use by the most recent module associated with the context. Callers should not pass in any arguments unles
context.go:573
↓ 1 callersMethodMarshalBinary
()
modules/caddytls/ech.go:1083
↓ 1 callersMethodMatch
Match matches hello based on SNI using a regular expression.
modules/caddytls/matchers.go:279
↓ 1 callersMethodMatch
Match matches hello based on the connection's remote IP.
modules/caddytls/matchers.go:354
↓ 1 callersMethodMatch
Match matches hello based on the connection's remote IP.
modules/caddytls/matchers.go:470
↓ 1 callersMethodMatchWithError
MatchWithError returns true if r matches m.
modules/caddyhttp/ip_matchers.go:155
↓ 1 callersMethodMatchWithError
MatchWithError returns true if r matches m.
modules/caddyhttp/ip_matchers.go:262
↓ 1 callersMethodMatchWithError
MatchWithError returns true if r matches m.
modules/caddyhttp/matchers.go:429
↓ 1 callersMethodMatchWithError
MatchWithError returns true if r matches m.
modules/caddyhttp/matchers.go:714
↓ 1 callersMethodMatchWithError
MatchWithError returns true if r matches m.
modules/caddyhttp/matchers.go:807
↓ 1 callersMethodMatchWithError
MatchWithError returns true if r matches m. An empty m matches an empty query string.
modules/caddyhttp/matchers.go:873
↓ 1 callersMethodMatchWithError
MatchWithError returns true if r matches m.
modules/caddyhttp/matchers.go:996
← previousnext →701–800 of 2,647, ranked by callers