Documentation
¶
Index ¶
- Constants
- Variables
- func NewGRPCCAServer(ct *ctclient.LogClient, ca certauth.CertificateAuthority, ...) fulciogrpc.CAServer
- func NewIssuerPool(cfg *config.FulcioConfig) identity.IssuerPool
- func NewLegacyGRPCCAServer(v2Server fulciogrpc.CAServer) legacy.CAServer
- func WithMaxBytes(next http.Handler, n int64) http.Handler
- type Info
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 NewGRPCCAServer ¶
func NewGRPCCAServer(ct *ctclient.LogClient, ca certauth.CertificateAuthority, ip identity.IssuerPool) fulciogrpc.CAServer
func NewIssuerPool ¶ added in v1.2.0
func NewIssuerPool(cfg *config.FulcioConfig) identity.IssuerPool
func NewLegacyGRPCCAServer ¶
func NewLegacyGRPCCAServer(v2Server fulciogrpc.CAServer) legacy.CAServer
Types ¶
Click to show internal directories.
Click to hide internal directories.