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.
Functions ¶
This section is empty.
Types ¶
type Balancer ¶
type Balancer struct{}
Balancer implements the base.PickerBuilder interface. It's used to create new balancer.Picker instances. It should only be used by nonce-service clients.
Click to show internal directories.
Click to hide internal directories.