MCPcopy Create free account

hub / github.com/cloudflare/ct-log / functions

Functions172 in github.com/cloudflare/ct-log

FunctionFromFile
(path string)
config/config.go:99
MethodGetActiveLogIDs
GetActiveLogs returns a list of the IDs of all the logs that are configured in storage.
ct/read_log_tx.go:20
MethodGetConsistencyProof
(ctx context.Context, req *trillian.GetConsistencyProofRequest, opts ...grpc.CallOption)
cmd/server/client.go:118
MethodGetEntryAndProof
(ctx context.Context, req *trillian.GetEntryAndProofRequest, opts ...grpc.CallOption)
cmd/server/client.go:190
MethodGetInclusionProof
(ctx context.Context, req *trillian.GetInclusionProofRequest, opts ...grpc.CallOption)
cmd/server/client.go:70
MethodGetInclusionProofByHash
(ctx context.Context, req *trillian.GetInclusionProofByHashRequest, opts ...grpc.CallOption)
cmd/server/client.go:94
MethodGetLeavesByHash
GetLeavesByHash looks up sequenced leaf metadata and data by their Merkle leaf hash.
ct/read_tree_tx.go:106
MethodGetLeavesByHash
(ctx context.Context, req *trillian.GetLeavesByHashRequest, opts ...grpc.CallOption)
cmd/server/client.go:334
MethodGetLeavesByIndex
(ctx context.Context, req *trillian.GetLeavesByIndexRequest, opts ...grpc.CallOption)
cmd/server/client.go:286
MethodGetLeavesByRange
GetLeavesByRange returns leaf data for a range of indexes.
ct/read_tree_tx.go:96
MethodGetLeavesByRange
(ctx context.Context, req *trillian.GetLeavesByRangeRequest, opts ...grpc.CallOption)
cmd/server/client.go:310
MethodGetSequencedLeafCount
GetSequencedLeafCount returns the total number of leaves that have been integrated into the tree via sequencing.
ct/read_tree_tx.go:43
MethodGetSequencedLeafCount
(ctx context.Context, req *trillian.GetSequencedLeafCountRequest, opts ...grpc.CallOption)
cmd/server/client.go:166
MethodGetTokens
GetTokens acquires numTokens from all specs. Tokens are taken in the order specified by specs. Returns error if numTokens could not be acquired for al
ct/quota_manager.go:95
MethodGetTree
GetTree returns the tree corresponding to treeID or an error.
config/admin_storage.go:41
MethodGetUnsequencedCounts
(ctx context.Context)
ct/read_log_tx.go:40
MethodGetUser
GetUser returns the quota user, as defined by the manager implementation. req is the RPC request message.
ct/quota_manager.go:88
MethodHardDeleteTree
HardDeleteTree hard deletes (i.e. completely removes from storage) the specified tree and all records related to it.
config/admin_storage.go:86
MethodIsClosed
()
config/admin_storage.go:38
MethodIsOpen
()
ct/tree_tx.go:281
MethodIsOpen
()
ct/read_tree_tx.go:183
MethodLatestSignedLogRoot
LatestSignedLogRoot returns the most recent SignedLogRoot, if any.
ct/read_tree_tx.go:31
MethodLen
()
custom/custom.go:8
MethodLess
(i, j int)
custom/custom.go:9
MethodListTreeIDs
ListTreeIDs returns the IDs of all trees in storage.
config/admin_storage.go:52
FunctionNew
New returns a new cache with a given default expiration duration and cleanup interval. If the expiration duration is less than one (or NoExpiration),
ct/cache/cache.go:166
FunctionNewLocal
NewLocal returns a new local database, with data stored at `path`.
custom/local.go:47
FunctionNewQuotaManager
(maxUnsequencedLeaves int64)
ct/quota_manager.go:31
FunctionNewReader
NewReader returns a deterministic, cryptographically-secure source of random bytes seeded by `seed`.
cmd/admin/ct-log-tester/internal/drand/drand.go:34
FunctionNewRemote
NewRemote returns a new remote database, where `acctId` and `appKey` are the Account ID and Application Key of a B2 bucket. `bucket` is the name of th
custom/remote.go:48
MethodPeekTokens
PeekTokens returns how many tokens are available for each spec, without acquiring any. Infinite quotas should return MaxTokens.
ct/quota_manager.go:128
MethodPutLeaves
(ctx context.Context, treeID int64, leaves []*trillian.LogLeaf)
custom/remote.go:125
MethodPutTokens
PutTokens adds numTokens for all specs.
ct/quota_manager.go:133
MethodQueueLeaf
(ctx context.Context, req *trillian.QueueLeafRequest, opts ...grpc.CallOption)
cmd/server/client.go:22
MethodQueueLeaves
QueueLeaves enqueues leaves for later integration into the tree.
ct/log_storage.go:124
MethodQueueLeaves
(treeID, queueTimestamp int64, leaves []*trillian.LogLeaf)
custom/local.go:103
MethodQueueLeaves
(ctx context.Context, req *trillian.QueueLeavesRequest, opts ...grpc.CallOption)
cmd/server/client.go:238
MethodRead
(p []byte)
cmd/admin/ct-log-tester/internal/drand/drand.go:25
MethodReadWriteTransaction
ReadWriteTransaction starts a RW transaction on the underlying storage, and calls f with it.
ct/log_storage.go:109
MethodReadWriteTransaction
ReadWriteTransaction creates a transaction, and runs f with it.
config/admin_storage.go:21
MethodResetQuota
ResetQuota resets the quota for all specs.
ct/quota_manager.go:166
MethodRollback
()
ct/read_log_tx.go:51
MethodRollback
()
ct/read_tree_tx.go:182
MethodRollback
()
config/admin_storage.go:36
MethodServeHTTP
(rw http.ResponseWriter, req *http.Request)
cmd/server/main.go:244
FunctionSetLeafCacheSize
SetLeafCacheSize sets the max size of the in-memory cache of leaves that have been queued but may not have been integrated into an STH yet. This helps
ct/tree_tx.go:23
MethodSetMerkleNodes
SetMerkleNodes stores the provided nodes, at the transaction's WriteRevision.
ct/tree_tx.go:195
MethodSnapshot
Snapshot starts a read-only transaction not tied to any particular tree.
ct/log_storage.go:40
MethodSnapshot
Snapshot starts a read-only transaction.
config/admin_storage.go:16
MethodSnapshotForTree
SnapshotForTree starts a read-only transaction for the specified treeID.
ct/log_storage.go:53
MethodSoftDeleteTree
SoftDeleteTree soft deletes the specified tree.
config/admin_storage.go:80
MethodStoreSignedLogRoot
StoreSignedLogRoot stores a freshly created SignedLogRoot.
ct/tree_tx.go:218
MethodSwap
(i, j int)
custom/custom.go:10
FunctionTestDupLeaf
(t *testing.T)
ct/tree_tx_test.go:30
FunctionTestStructLeaf
(t *testing.T)
ct/tree_tx_test.go:12
FunctionTestStructLeaf
(t *testing.T)
custom/local_test.go:23
FunctionTestStructLogConfig
(t *testing.T)
config/config_test.go:11
FunctionTestStructNodeID
(t *testing.T)
custom/local_test.go:33
FunctionTestStructQueuedLeaf
(t *testing.T)
ct/tree_tx_test.go:21
FunctionTestStructRoot
(t *testing.T)
custom/local_test.go:13
FunctionTestStructSubtreeProto
(t *testing.T)
custom/local_test.go:42
FunctionTestTreeHead
(t *testing.T)
custom/frontier/frontier_test.go:15
MethodUndeleteTree
UndeleteTree undeletes a soft-deleted tree.
config/admin_storage.go:91
MethodUpdateSequencedLeaves
(ctx context.Context, leaves []*trillian.LogLeaf)
ct/tree_tx.go:162
MethodUpdateTree
UpdateTree updates the specified tree in storage, returning a tree with all storage-generated fields set.
config/admin_storage.go:75
Functioninit
()
cmd/server/main.go:53
Functioninit
()
cmd/admin/ct-log-tester/checks.go:28
Functionmain
go:generate go run ./../admin/gen-server-client/main.go
cmd/server/main.go:63
Functionmain
()
cmd/admin/ct-log-tester/main.go:24
Functionmain
()
cmd/admin/gen-server-client/main.go:26
FunctionstopJanitor
(c *Cache)
ct/cache/cache.go:121
MethodstoreSubtrees
(subtrees []*storagepb.SubtreeProto)
ct/tree_tx.go:232
← previous101–172 of 172, ranked by callers