Documentation ¶
Index ¶
- Variables
- func ConfigureAPI(treeID uint)
- func CreateLogEntryHandler(params entries.CreateLogEntryParams) middleware.Responder
- func GetLogEntryByIndexHandler(params entries.GetLogEntryByIndexParams) middleware.Responder
- func GetLogEntryByUUIDHandler(params entries.GetLogEntryByUUIDParams) middleware.Responder
- func GetLogInfoHandler(params tlog.GetLogInfoParams) middleware.Responder
- func GetLogProofHandler(params tlog.GetLogProofParams) middleware.Responder
- func GetPublicKeyHandler(params pubkey.GetPublicKeyParams) middleware.Responder
- func GetRekorVersionHandler(params server.GetRekorVersionParams) middleware.Responder
- func SearchIndexHandler(params index.SearchIndexParams) middleware.Responder
- func SearchIndexNotImplementedHandler(params index.SearchIndexParams) middleware.Responder
- func SearchLogQueryHandler(params entries.SearchLogQueryParams) middleware.Responder
- type API
- type Response
- type TrillianClient
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNotFound = errors.New("grpc returned 0 leaves with success code")
View Source
var ( MetricLatency = promauto.NewHistogramVec(prometheus.HistogramOpts{ Name: "rekor_api_latency", Help: "Api Latency on calls", }, []string{"path", "code"}) )
Functions ¶
func ConfigureAPI ¶
func ConfigureAPI(treeID uint)
func CreateLogEntryHandler ¶
func CreateLogEntryHandler(params entries.CreateLogEntryParams) middleware.Responder
CreateLogEntryHandler creates new entry into log
func GetLogEntryByIndexHandler ¶
func GetLogEntryByIndexHandler(params entries.GetLogEntryByIndexParams) middleware.Responder
GetLogEntryAndProofByIndexHandler returns the entry and inclusion proof for a specified log index
func GetLogEntryByUUIDHandler ¶
func GetLogEntryByUUIDHandler(params entries.GetLogEntryByUUIDParams) middleware.Responder
GetLogEntryByUUIDHandler gets log entry and inclusion proof for specified UUID aka merkle leaf hash
func GetLogInfoHandler ¶
func GetLogInfoHandler(params tlog.GetLogInfoParams) middleware.Responder
GetLogInfoHandler returns the current size of the tree and the STH
func GetLogProofHandler ¶
func GetLogProofHandler(params tlog.GetLogProofParams) middleware.Responder
GetLogProofHandler returns information required to compute a consistency proof between two snapshots of log
func GetPublicKeyHandler ¶
func GetPublicKeyHandler(params pubkey.GetPublicKeyParams) middleware.Responder
func GetRekorVersionHandler ¶ added in v0.5.0
func GetRekorVersionHandler(params server.GetRekorVersionParams) middleware.Responder
func SearchIndexHandler ¶
func SearchIndexHandler(params index.SearchIndexParams) middleware.Responder
func SearchIndexNotImplementedHandler ¶
func SearchIndexNotImplementedHandler(params index.SearchIndexParams) middleware.Responder
func SearchLogQueryHandler ¶
func SearchLogQueryHandler(params entries.SearchLogQueryParams) middleware.Responder
SearchLogQueryHandler searches log by index, UUID, or proposed entry and returns array of entries found with inclusion proofs
Types ¶
type TrillianClient ¶
type TrillianClient struct {
// contains filtered or unexported fields
}
func NewTrillianClient ¶
func NewTrillianClient(ctx context.Context) TrillianClient
func NewTrillianClientFromTreeID ¶ added in v0.6.0
func NewTrillianClientFromTreeID(ctx context.Context, tid int64) TrillianClient
Click to show internal directories.
Click to hide internal directories.