MCPcopy Create free account

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

Functions158 in github.com/cloudflare/serverless-registry

↓ 1 callersMethodverifyToken
( request: Request, token: string, )
src/token.ts:83
↓ 1 callersFunctionwrite
(val: Buffer, _, cb)
push/index.ts:140
Method_read
()
push/limiter.ts:23
MethodaddObjectPath
(object: R2Object)
src/registry/r2.ts:282
MethodappendStreamKnownLength
(stream: ReadableStream, size: number)
src/registry/r2.ts:824
MethodcancelUpload
(_namespace: string, _uploadId: UploadId)
src/registry/http.ts:680
MethodcancelUpload
(name: string, uploadId: UploadId)
src/registry/r2.ts:1017
MethodcheckCredentials
(r: Request)
src/user.ts:69
MethodcheckCredentials
(request: Request)
src/token.ts:171
Functionclose
()
push/index.ts:170
Methodconstructor
( // reader will be used to read bytes until limit. // it might read more than 'limit' due to Bun not
push/limiter.ts:10
Methodconstructor
(private credentials: AuthenticatorCredentials[])
src/user.ts:65
Methodconstructor
(r: Request)
src/errors.ts:4
Methodconstructor
(stateHash: string, state: State)
src/errors.ts:26
Methodconstructor
()
src/errors.ts:53
Methodconstructor
( code: "MANIFEST_INVALID" | "BLOB_UNKNOWN" | "MANIFEST_UNVERIFIED" | "TAG_INVALID" | "NAME_INVALID",
src/errors.ts:74
Methodconstructor
(message: string, errorCode = 500)
src/errors.ts:98
Methodconstructor
(jwtPublicKey: JsonWebKeyWithKid)
src/token.ts:25
Methodconstructor
(registry: R2Bucket)
src/registry/garbage-collector.ts:43
Methodconstructor
( private env: Env, private configuration: RegistryConfiguration, )
src/registry/http.ts:237
Methodconstructor
(private env: Env)
src/registry/r2.ts:231
FunctionconsumeReadable
(reader: ReadableStreamDefaultReader)
src/utils.ts:41
MethodcreatePrivateAndPublicKey
* Very util function that showcases how do we generate private and public keys * * @example * // Sample usage: * try { * con
src/token.ts:45
MethodcreateToken
( accountID: string, caps: RegistryTokenCapability[], expirationMinutes: number, privateKeyStr
src/token.ts:55
MethodfinishUpload
( _namespace: string, _uploadId: string, _location: string, _expectedSha: string, _stream?
src/registry/http.ts:699
MethodfinishUpload
( namespace: string, uploadId: string, location: string, expectedSha: string, stream?: Rea
src/registry/r2.ts:951
MethodgarbageCollection
(_namespace: string, _mode: GarbageCollectionMode)
src/registry/http.ts:714
MethodgarbageCollection
(namespace: string, mode: GarbageCollectionMode)
src/registry/r2.ts:1060
MethodgetLayer
(name: string, digest: string)
src/registry/http.ts:522
MethodgetLayer
(name: string, digest: string)
src/registry/r2.ts:693
MethodgetManifest
(name: string, digest: string)
src/registry/http.ts:450
MethodgetManifest
(name: string, reference: string)
src/registry/r2.ts:608
MethodgetUpload
(_namespace: string, _uploadId: string)
src/registry/http.ts:684
MethodgetUpload
(namespace: string, uploadId: string)
src/registry/r2.ts:748
MethodlayerExists
(name: string, digest: string)
src/registry/http.ts:482
MethodlayerExists
(name: string, tag: string)
src/registry/r2.ts:674
MethodlistReferrers
( name: string, digest: string, options?: { artifactType?: string; limit?: number;
src/registry/http.ts:565
MethodlistReferrers
( name: string, digest: string, options?: { artifactType?: string; limit?: number;
src/registry/r2.ts:389
MethodlistRepositories
(_limit?: number, _last?: string)
src/registry/http.ts:710
MethodlistRepositories
(limit?: number, last?: string)
src/registry/r2.ts:259
MethodmanifestExists
(name: string, tag: string)
src/registry/http.ts:421
MethodmanifestExists
(name: string, reference: string)
src/registry/r2.ts:235
MethodmanifestHasTag
(manifests: Set<string>)
src/registry/garbage-collector.ts:208
MethodmarkManifestLive
(digest: string)
src/registry/garbage-collector.ts:211
MethodmonolithicUpload
( _namespace: string, _expectedSha: string, _stream: ReadableStream, _size: number, )
src/registry/http.ts:307
MethodmonolithicUpload
( namespace: string, sha256: string, stream: ReadableStream, size?: number, )
src/registry/r2.ts:1035
MethodmountExistingLayer
( _sourceName: string, _digest: string, _destinationName: string, )
src/registry/http.ts:659
MethodmountExistingLayer
( sourceName: string, digest: string, destinationName: string, )
src/registry/r2.ts:628
MethodobjectExistsInPath
(entry?: string)
src/registry/r2.ts:274
FunctiononDrain
()
push/index.ts:157
Functionpull
(controller)
push/index.ts:361
MethodputManifest
( _namespace: string, _reference: string, _readableStream: ReadableStream, _options: { content
src/registry/http.ts:667
MethodputManifest
( namespace: string, reference: string, readableStream: ReadableStream, { contentType,
src/registry/r2.ts:468
MethodputReference
()
src/registry/r2.ts:566
MethodstartUpload
(_namespace: string)
src/registry/http.ts:676
MethodstartUpload
(namespace: string)
src/registry/r2.ts:725
MethoduploadChunk
( _namespace: string, _uploadId: string, _location: string, _stream: ReadableStream, _leng
src/registry/http.ts:688
MethoduploadChunk
( namespace: string, uploadId: string, location: string, stream: ReadableStream, length?:
src/registry/r2.ts:770
← previous101–158 of 158, ranked by callers