Documentation ¶
Overview ¶
Package certapi implements the token + TEK verification API.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
MetricPrefix = observability.MetricRoot + "/api/certificate"
)
Functions ¶
This section is empty.
Types ¶
type Controller ¶
type Controller struct {
// contains filtered or unexported fields
}
func New ¶
func New(ctx context.Context, config *config.APIServerConfig, db *database.Database, cacher vcache.Cacher, kms keys.KeyManager, h *render.Renderer) (*Controller, error)
func (*Controller) HandleCertificate ¶
func (c *Controller) HandleCertificate() http.Handler
type Metrics ¶ added in v0.5.1
type Metrics struct { Attempts *stats.Int64Measure TokenExpired *stats.Int64Measure TokenUsed *stats.Int64Measure TokenInvalid *stats.Int64Measure CertificateIssued *stats.Int64Measure CertificateErrors *stats.Int64Measure }
Click to show internal directories.
Click to hide internal directories.