MCPcopy Create free account

hub / github.com/cloudflare/serverless-registry / functions

Functions158 in github.com/cloudflare/serverless-registry

↓ 75 callersFunctioncreateRequest
(method: string, path: string, body: ReadableStream | null, headers = {})
test/index.test.ts:102
↓ 74 callersMethodlist
(prefix: string, callback: (object: R2Object) => Promise<boolean>)
src/registry/garbage-collector.ts:151
↓ 69 callersFunctioncreateManifest
(name: string, schema: ManifestSchema, tag?: string)
test/index.test.ts:244
↓ 64 callersFunctionfetch
(r: Request)
test/index.test.ts:136
↓ 61 callersFunctiongenerateManifest
(name: string, schemaVersion: 1 | 2 = 2)
test/index.test.ts:27
↓ 35 callersFunctiongetImageManifestV2
(schema: ManifestSchema)
test/index.test.ts:208
↓ 24 callersFunctionmanifestSize
(schema: ManifestSchema)
test/index.test.ts:216
↓ 23 callersFunctionnumberedDigest
(index: number)
test/index.test.ts:121
↓ 20 callersFunctionrunGarbageCollector
(name: string, mode: "unreferenced" | "untagged" | "both")
test/index.test.ts:2109
↓ 15 callersFunctiongetReferrersIndex
(name: string, digest: string, params?: URLSearchParams)
test/index.test.ts:282
↓ 14 callersFunctionerrorString
(err: unknown)
src/utils.ts:48
↓ 14 callersFunctionfetch
(request: Request, env: Env, context?: ExecutionContext)
index.ts:39
↓ 12 callersFunctionhexToDigest
(sha256: ArrayBuffer, prefix: string = SHA256_PREFIX + ":")
src/user.ts:16
↓ 11 callersFunctiongetSHA256
(data: string, prefix: string = SHA256_PREFIX + ":")
src/user.ts:47
↓ 10 callersMethodverifyPayload
(request: Request, payload: RegistryAuthProtocolTokenPayload)
src/token.ts:112
↓ 10 callersFunctionwrap
(fn: Promise<T>)
src/utils.ts:60
↓ 9 callersMethodlistReferrers
( namespace: string, digest: string, options?: { artifactType?: string; limit?: number
src/registry/registry.ts:156
↓ 9 callersFunctionwrapError
(method: string, err: unknown)
src/registry/registry.ts:220
↓ 8 callersFunctionfetchUnauth
(r: Request)
test/index.test.ts:129
↓ 6 callersFunctionctxIntoRequest
(ctx: HTTPContext, url: URL, method: string, path: string, body?: BodyInit)
src/registry/http.ts:159
↓ 6 callersFunctionisDockerDotIO
(url: URL)
src/registry/http.ts:30
↓ 6 callersFunctionlimit
(streamInput: ReadableStream, limitBytes: number)
src/chunk.ts:45
↓ 6 callersFunctionmountLayersFromManifest
(from: string, schema: ManifestSchema, name: string)
test/index.test.ts:264
↓ 5 callersMethodauthenticate
(namespace: string)
src/registry/http.ts:262
↓ 5 callersFunctionisValidDigest
(digest: string)
src/user.ts:22
↓ 5 callersFunctionparseLinkHeaderURL
(link: string)
test/index.test.ts:115
↓ 5 callersFunctionregistries
(env: Env)
src/registry/registry.ts:27
↓ 4 callersMethodauthBase64
()
src/registry/http.ts:244
↓ 4 callersFunctiongetRegistryUploadsPath
(state: { registryUploadId: string; name: string })
src/registry/r2.ts:166
↓ 4 callersFunctiongetUploadState
( name: string, uploadId: string, env: Env, verifyHash: string | undefined, )
src/registry/r2.ts:202
↓ 4 callersMethodmanifestExists
(namespace: string, tag: string)
src/registry/registry.ts:134
↓ 4 callersFunctionstringToArrayBuffer
(s: string)
src/user.ts:41
↓ 3 callersFunctionManifestUnknownError
(tag: string)
src/v2-errors.ts:1
↓ 3 callersFunctioncreateManifestList
(name: string, tag?: string)
test/index.test.ts:1971
↓ 3 callersFunctiongenerateManifestList
(amdManifest: ManifestSchema, armManifest: ManifestSchema)
test/index.test.ts:73
↓ 3 callersMethodgetLayer
(namespace: string, digest: string)
src/registry/registry.ts:153
↓ 3 callersMethodgetManifest
(namespace: string, digest: string)
src/registry/registry.ts:140
↓ 3 callersFunctionjsonHeaders
()
src/utils.ts:64
↓ 3 callersMethodputManifest
( namespace: string, reference: string, readableStream: ReadableStream, options: { conte
src/registry/registry.ts:167
↓ 3 callersFunctionuploadManifest
( name: string, schema: ManifestSchema, tag?: string, )
test/index.test.ts:220
↓ 3 callersFunctionusernamePasswordToAuth
(username: string, password: string)
test/index.test.ts:125
↓ 2 callersMethodcheckIfGCCanContinue
(namespace: string, mark: string)
src/registry/garbage-collector.ts:129
↓ 2 callersMethodcheckIfV2OnlyPath
(request: Request)
src/token.ts:79
↓ 2 callersFunctionctxIntoHeaders
(ctx: HTTPContext)
src/registry/http.ts:144
↓ 2 callersFunctionencodeState
(state: State, env: Env)
src/registry/r2.ts:186
↓ 2 callersFunctionformatNextLink
(url: URL)
src/router.ts:26
↓ 2 callersMethodgetGCMarker
(namespace: string)
src/registry/garbage-collector.ts:66
↓ 2 callersMethodgetInsertionMark
(namespace: string)
src/registry/garbage-collector.ts:116
↓ 2 callersFunctiongetLayersFromManifest
(schema: ManifestSchema)
test/index.test.ts:249
↓ 2 callersFunctionimportKeyFromBase64
(key: string)
src/token.ts:10
↓ 2 callersFunctionparseLocation
(location: string)
push/index.ts:258
↓ 2 callersMethodpassword
()
src/registry/http.ts:253
↓ 2 callersFunctionpushLayer
(layerDigest: string, readableStream: ReadableStream, totalLayerSize: number)
push/index.ts:217
↓ 2 callersFunctionreadableToBlob
( reader: ReadableStreamDefaultReader, ...multiwriters: WritableStreamDefaultWriter[] )
src/utils.ts:3
↓ 2 callersFunctionreferrersPath
(name: string, subjectDigest: string, digest: string)
src/registry/r2.ts:41
↓ 2 callersFunctionreferrersPrefix
(name: string, digest: string)
src/registry/r2.ts:37
↓ 2 callersFunctionseedReferrerIndex
(name: string, subjectDigest: string, descriptors: ReferrerDescriptor[])
test/index.test.ts:294
↓ 2 callersFunctionsplit
( stream: ReadableStream, size: number, maxSize: number, )
src/chunk.ts:69
↓ 2 callersFunctionstripUsernamePasswordFromHeader
(r: Request)
src/auth.ts:24
↓ 1 callersFunctionartifactTypeFromManifest
(manifest: ManifestSchema)
src/registry/r2.ts:45
↓ 1 callersFunctionauthHeaderIntoAuthContext
(urlObject: URL, authenticateHeader: string)
src/registry/http.ts:171
↓ 1 callersMethodauthenticateBasic
(ctx: AuthContext)
src/registry/http.ts:403
↓ 1 callersMethodauthenticateBearer
(ctx: AuthContext)
src/registry/http.ts:330
↓ 1 callersMethodauthenticateBearerSimple
(ctx: AuthContext, params: URLSearchParams)
src/registry/http.ts:317
↓ 1 callersFunctionauthenticationMethodFromEnv
(env: Env)
src/authentication-method.ts:6
↓ 1 callersMethodcancelUpload
(namespace: string, uploadId: UploadId)
src/registry/registry.ts:181
↓ 1 callersMethodcheckCanInsertData
(namespace: string, mark: string)
src/registry/garbage-collector.ts:79
↓ 1 callersMethodcheckCredentials
(r: Request)
src/auth.ts:21
↓ 1 callersMethodcleanInsertion
(namespace: string, tag: string)
src/registry/garbage-collector.ts:107
↓ 1 callersMethodcleanupGarbageCollectionMark
(namespace: string)
src/registry/garbage-collector.ts:58
↓ 1 callersMethodcollect
(options: GCOptions)
src/registry/garbage-collector.ts:175
↓ 1 callersMethodcollectInner
(options: GCOptions)
src/registry/garbage-collector.ts:185
↓ 1 callersFunctiondescriptorFromManifest
(manifest: ManifestSchema, digest: string, size: number)
src/registry/r2.ts:61
↓ 1 callersFunctionensureConfig
(env: Env)
index.ts:84
↓ 1 callersMethodfinishUpload
( namespace: string, uploadId: string, location: string, expectedDigest: string, stream?:
src/registry/registry.ts:208
↓ 1 callersMethodgarbageCollection
(namespace: string, mode: GarbageCollectionMode)
src/registry/registry.ts:217
↓ 1 callersFunctiongetChunkBlob
(env: Env, chunk: Chunk)
src/chunk.ts:18
↓ 1 callersFunctiongetHelperR2Path
(id: string)
src/chunk.ts:14
↓ 1 callersFunctiongetJWT
(env: Env, state: { registryUploadId: string; name: string })
src/registry/r2.ts:170
↓ 1 callersMethodgetUpload
(namespace: string, uploadId: UploadId)
src/registry/registry.ts:184
↓ 1 callersFunctionisOpaqueReferrersCursor
(cursor: string)
src/router.ts:24
↓ 1 callersFunctionisOpaqueReferrersCursor
(cursor: string)
src/registry/http.ts:132
↓ 1 callersMethodlayerExists
(namespace: string, digest: string)
src/registry/registry.ts:150
↓ 1 callersMethodlistRepositories
(limit?: number, last?: string)
src/registry/registry.ts:137
↓ 1 callersMethodmarkForGarbageCollection
(namespace: string)
src/registry/garbage-collector.ts:47
↓ 1 callersMethodmarkForInsertion
(namespace: string)
src/registry/garbage-collector.ts:94
↓ 1 callersMethodmonolithicUpload
( namespace: string, expectedSha: string, stream: ReadableStream, // For a more optimal upload
src/registry/registry.ts:188
↓ 1 callersMethodmountExistingLayer
( sourceName: string, digest: string, destinationName: string, )
src/registry/registry.ts:143
↓ 1 callersFunctionnewRegistryTokens
(jwtPublicKey: string)
src/token.ts:17
↓ 1 callersFunctionnormalizeReferrersCursor
(nextURL: URL, requestURL: URL)
src/registry/http.ts:136
↓ 1 callersFunctionparseLinkHeaderURL
(link: string, baseURL: string)
src/registry/http.ts:87
↓ 1 callersFunctionparseStoredReferrerDescriptor
(descriptor: unknown, expectedDigest: string)
src/registry/r2.ts:84
↓ 1 callersMethodputManifestInner
( name: string, reference: string, readableStream: ReadableStream, contentType: string, ch
src/registry/r2.ts:495
↓ 1 callersFunctionread
(stream: stream.Readable)
push/index.ts:8
↓ 1 callersFunctionreaderToBlob
(readaleStream: ReadableStream, ...multiwriters: WritableStreamDefaultWriter[])
src/utils.ts:23
↓ 1 callersFunctionshuffleArray
(array: T[])
test/index.test.ts:106
↓ 1 callersFunctionsplitLinkHeaderValues
(link: string)
src/registry/http.ts:58
↓ 1 callersMethodstartUpload
(namespace: string)
src/registry/registry.ts:178
↓ 1 callersMethoduploadChunk
( namespace: string, uploadId: string, location: string, stream: ReadableStream, // for a
src/registry/registry.ts:197
↓ 1 callersMethodverifyManifest
(name: string, manifest: ManifestSchema)
src/registry/r2.ts:360
next →1–100 of 158, ranked by callers