Documentation ¶
Index ¶
Constants ¶
View Source
const ( PEMCertificateChain = "application/pem-certificate-chain" SCTMetadataKey = "x-sct" HTTPResponseCodeMetadataKey = "x-http-code" )
View Source
const (
MetadataOIDCTokenKey = "oidcidentitytoken"
)
Variables ¶
View Source
var ( MetricLatency = promauto.NewHistogramVec(prometheus.HistogramOpts{ Name: "fulcio_api_latency", Help: "API Latency on calls", }, []string{"code", "method"}) RequestsCount = promauto.NewCounterVec(prometheus.CounterOpts{ Name: "http_requests_total", Help: "Count all HTTP requests", }, []string{"code", "method"}) )
Functions ¶
func NewIssuerPool ¶ added in v1.2.0
func NewIssuerPool(cfg *config.FulcioConfig) identity.IssuerPool
func NewLegacyGRPCCAServer ¶
func NewLegacyGRPCCAServer(v2Server fulciogrpc.CAServer) legacy.CAServer
Types ¶
type GRPCCAServer ¶ added in v1.3.3
type GRPCCAServer interface { fulciogrpc.CAServer health.HealthServer }
func NewGRPCCAServer ¶
func NewGRPCCAServer(ct *ctclient.LogClient, ca certauth.CertificateAuthority, ip identity.IssuerPool) GRPCCAServer
Click to show internal directories.
Click to hide internal directories.