Documentation
¶
Index ¶
Constants ¶
View Source
const ( // Name is the name used to register the nonce balancer with the gRPC // runtime. Name = "nonce" // SRVResolverScheme is the scheme used to invoke an instance of the SRV // resolver which will use the noncebalancer to pick backends. It would be // ideal to export this from the SRV resolver package but that package is // internal. SRVResolverScheme = "nonce-srv" )
Variables ¶
View Source
var ErrNoBackendsMatchPrefix = status.New(codes.Unavailable, "no backends match the nonce prefix")
ErrNoBackendsMatchPrefix indicates that no backends were found which match the nonce prefix provided in the RPC context. This can happen when the provided nonce is stale, valid but the backend has since been removed from the balancer, or valid but the backend has not yet been added to the balancer.
In any case, when the WFE receives this error it will return a badNonce error to the ACME client. Note that the WFE uses exact pointer comparison to detect that the status it receives is this exact status object, so don't wrap this with fmt.Errorf when returning it.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.