Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cloudflare/serverless-registry
/ functions
Functions
158 in github.com/cloudflare/serverless-registry
⨍
Functions
158
◇
Types & classes
25
↓ 1 callers
Method
verifyToken
( request: Request, token: string, )
src/token.ts:83
↓ 1 callers
Function
write
(val: Buffer, _, cb)
push/index.ts:140
Method
_read
()
push/limiter.ts:23
Method
addObjectPath
(object: R2Object)
src/registry/r2.ts:282
Method
appendStreamKnownLength
(stream: ReadableStream, size: number)
src/registry/r2.ts:824
Method
cancelUpload
(_namespace: string, _uploadId: UploadId)
src/registry/http.ts:680
Method
cancelUpload
(name: string, uploadId: UploadId)
src/registry/r2.ts:1017
Method
checkCredentials
(r: Request)
src/user.ts:69
Method
checkCredentials
(request: Request)
src/token.ts:171
Function
close
()
push/index.ts:170
Method
constructor
( // reader will be used to read bytes until limit. // it might read more than 'limit' due to Bun not
push/limiter.ts:10
Method
constructor
(private credentials: AuthenticatorCredentials[])
src/user.ts:65
Method
constructor
(r: Request)
src/errors.ts:4
Method
constructor
(stateHash: string, state: State)
src/errors.ts:26
Method
constructor
()
src/errors.ts:53
Method
constructor
( code: "MANIFEST_INVALID" | "BLOB_UNKNOWN" | "MANIFEST_UNVERIFIED" | "TAG_INVALID" | "NAME_INVALID",
src/errors.ts:74
Method
constructor
(message: string, errorCode = 500)
src/errors.ts:98
Method
constructor
(jwtPublicKey: JsonWebKeyWithKid)
src/token.ts:25
Method
constructor
(registry: R2Bucket)
src/registry/garbage-collector.ts:43
Method
constructor
( private env: Env, private configuration: RegistryConfiguration, )
src/registry/http.ts:237
Method
constructor
(private env: Env)
src/registry/r2.ts:231
Function
consumeReadable
(reader: ReadableStreamDefaultReader)
src/utils.ts:41
Method
createPrivateAndPublicKey
* Very util function that showcases how do we generate private and public keys * * @example * // Sample usage: * try { * con
src/token.ts:45
Method
createToken
( accountID: string, caps: RegistryTokenCapability[], expirationMinutes: number, privateKeyStr
src/token.ts:55
Method
finishUpload
( _namespace: string, _uploadId: string, _location: string, _expectedSha: string, _stream?
src/registry/http.ts:699
Method
finishUpload
( namespace: string, uploadId: string, location: string, expectedSha: string, stream?: Rea
src/registry/r2.ts:951
Method
garbageCollection
(_namespace: string, _mode: GarbageCollectionMode)
src/registry/http.ts:714
Method
garbageCollection
(namespace: string, mode: GarbageCollectionMode)
src/registry/r2.ts:1060
Method
getLayer
(name: string, digest: string)
src/registry/http.ts:522
Method
getLayer
(name: string, digest: string)
src/registry/r2.ts:693
Method
getManifest
(name: string, digest: string)
src/registry/http.ts:450
Method
getManifest
(name: string, reference: string)
src/registry/r2.ts:608
Method
getUpload
(_namespace: string, _uploadId: string)
src/registry/http.ts:684
Method
getUpload
(namespace: string, uploadId: string)
src/registry/r2.ts:748
Method
layerExists
(name: string, digest: string)
src/registry/http.ts:482
Method
layerExists
(name: string, tag: string)
src/registry/r2.ts:674
Method
listReferrers
( name: string, digest: string, options?: { artifactType?: string; limit?: number;
src/registry/http.ts:565
Method
listReferrers
( name: string, digest: string, options?: { artifactType?: string; limit?: number;
src/registry/r2.ts:389
Method
listRepositories
(_limit?: number, _last?: string)
src/registry/http.ts:710
Method
listRepositories
(limit?: number, last?: string)
src/registry/r2.ts:259
Method
manifestExists
(name: string, tag: string)
src/registry/http.ts:421
Method
manifestExists
(name: string, reference: string)
src/registry/r2.ts:235
Method
manifestHasTag
(manifests: Set<string>)
src/registry/garbage-collector.ts:208
Method
markManifestLive
(digest: string)
src/registry/garbage-collector.ts:211
Method
monolithicUpload
( _namespace: string, _expectedSha: string, _stream: ReadableStream, _size: number, )
src/registry/http.ts:307
Method
monolithicUpload
( namespace: string, sha256: string, stream: ReadableStream, size?: number, )
src/registry/r2.ts:1035
Method
mountExistingLayer
( _sourceName: string, _digest: string, _destinationName: string, )
src/registry/http.ts:659
Method
mountExistingLayer
( sourceName: string, digest: string, destinationName: string, )
src/registry/r2.ts:628
Method
objectExistsInPath
(entry?: string)
src/registry/r2.ts:274
Function
onDrain
()
push/index.ts:157
Function
pull
(controller)
push/index.ts:361
Method
putManifest
( _namespace: string, _reference: string, _readableStream: ReadableStream, _options: { content
src/registry/http.ts:667
Method
putManifest
( namespace: string, reference: string, readableStream: ReadableStream, { contentType,
src/registry/r2.ts:468
Method
putReference
()
src/registry/r2.ts:566
Method
startUpload
(_namespace: string)
src/registry/http.ts:676
Method
startUpload
(namespace: string)
src/registry/r2.ts:725
Method
uploadChunk
( _namespace: string, _uploadId: string, _location: string, _stream: ReadableStream, _leng
src/registry/http.ts:688
Method
uploadChunk
( namespace: string, uploadId: string, location: string, stream: ReadableStream, length?:
src/registry/r2.ts:770
← previous
101–158 of 158, ranked by callers