Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/tus/tusd
/ functions
Functions
707 in github.com/tus/tusd
⨍
Functions
707
◇
Types & classes
140
Function
RegisterHookHandlerServer
(s grpc.ServiceRegistrar, srv HookHandlerServer)
pkg/hooks/grpc/proto/hook_grpc.pb.go:79
Method
Remain
()
pkg/gcsstore/gcsstore_test.go:124
Method
Remain
Remain mocks base method.
pkg/gcsstore/gcsstore_mock_test.go:83
Method
Remain
Remain indicates an expected call of Remain.
pkg/gcsstore/gcsstore_mock_test.go:91
Method
Remain
()
pkg/gcsstore/gcsservice.go:55
Method
Reset
()
pkg/hooks/grpc/proto/hook.pb.go:43
Method
Reset
()
pkg/hooks/grpc/proto/hook.pb.go:103
Method
Reset
()
pkg/hooks/grpc/proto/hook.pb.go:180
Method
Reset
()
pkg/hooks/grpc/proto/hook.pb.go:305
Method
Reset
()
pkg/hooks/grpc/proto/hook.pb.go:374
Method
Reset
()
pkg/hooks/grpc/proto/hook.pb.go:468
Method
Reset
()
pkg/hooks/grpc/proto/hook.pb.go:542
Method
ServeContent
(ctx context.Context, w http.ResponseWriter, r *http.Request)
pkg/filestore/filestore.go:315
Method
ServeContent
(ctx context.Context, w http.ResponseWriter, r *http.Request)
pkg/s3store/serve_content.go:21
Method
Server
(*plugin.MuxBroker)
pkg/hooks/plugin/plugin.go:142
Method
SetObjectMetadata
SetObjectMetadata mocks base method.
pkg/gcsstore/gcsstore_mock_test.go:221
Method
SetObjectMetadata
SetObjectMetadata indicates an expected call of SetObjectMetadata.
pkg/gcsstore/gcsstore_mock_test.go:229
Method
Setup
Setup mocks base method.
pkg/hooks/hooks_mock_test.go:52
Method
Setup
Setup indicates an expected call of Setup.
pkg/hooks/hooks_mock_test.go:60
Method
Setup
Setup initiates the connection to the plugin. Note: When the main process ends, you must call CleanupClients() to ensure that the subprocess is proper
pkg/hooks/plugin/plugin.go:28
Method
Setup
()
pkg/hooks/plugin/plugin.go:95
Method
Setup
(args any, resp *any)
pkg/hooks/plugin/plugin.go:118
Method
Setup
()
pkg/hooks/http/http.go:35
Method
Setup
()
pkg/hooks/grpc/grpc.go:36
Method
Setup
()
pkg/hooks/file/file.go:24
Method
Setup
Setup is called once the plugin has been loaded by tusd.
examples/hooks/plugin/hook_handler.go:16
Method
Size
()
pkg/gcsstore/gcsstore_test.go:128
Method
Size
Size mocks base method.
pkg/gcsstore/gcsstore_mock_test.go:97
Method
Size
Size indicates an expected call of Size.
pkg/gcsstore/gcsstore_mock_test.go:105
Method
StageSentinelBlock
StageSentinelBlock stages a marker block so that a freshly created upload always has at least one uncommitted block. This lets GetOffset reliably tell
pkg/azurestore/azureservice.go:218
Method
StageSentinelBlock
infoBlob does not use a sentinel block, so this is a no-op.
pkg/azurestore/azureservice.go:299
Method
StageSentinelBlock
StageSentinelBlock mocks base method.
pkg/azurestore/azurestore_mock_test.go:136
Method
StageSentinelBlock
StageSentinelBlock indicates an expected call of StageSentinelBlock.
pkg/azurestore/azurestore_mock_test.go:144
Method
String
()
pkg/hooks/grpc/proto/hook.pb.go:52
Method
String
()
pkg/hooks/grpc/proto/hook.pb.go:189
Method
String
()
pkg/hooks/grpc/proto/hook.pb.go:314
Method
String
()
pkg/hooks/grpc/proto/hook.pb.go:383
Method
String
()
pkg/hooks/grpc/proto/hook.pb.go:477
Method
String
()
pkg/hooks/grpc/proto/hook.pb.go:551
Method
String
()
pkg/handler/context_test.go:33
Method
String
()
pkg/handler/context_test.go:62
Method
String
()
pkg/s3store/s3store_util_test.go:53
Method
String
()
cmd/tusd/cli/flags.go:104
Method
Terminate
(ctx context.Context)
pkg/azurestore/azurestore.go:229
Method
Terminate
(ctx context.Context)
pkg/gcsstore/gcsstore.go:308
Method
Terminate
(ctx context.Context)
pkg/filestore/filestore.go:242
Method
Terminate
Terminate mocks base method.
pkg/handler/handler_mock_test.go:207
Method
Terminate
Terminate indicates an expected call of Terminate.
pkg/handler/handler_mock_test.go:215
Method
Terminate
(ctx context.Context)
pkg/s3store/s3store.go:776
Function
TestCORS
(t *testing.T)
pkg/handler/cors_test.go:12
Function
TestCalcOptimalPartSize
(t *testing.T)
pkg/s3store/calcpartsize_test.go:37
Function
TestCalcOptimalPartSize_AllUploadSizes
(t *testing.T)
pkg/s3store/calcpartsize_test.go:132
Function
TestCalcOptimalPartSize_ExceedingMaxPartSize
(t *testing.T)
pkg/s3store/calcpartsize_test.go:159
Function
TestComposeFrom
(t *testing.T)
pkg/gcsstore/gcsservice_test.go:428
Function
TestComposeNoObjects
(t *testing.T)
pkg/gcsstore/gcsservice_test.go:198
Function
TestComposeObjects
(t *testing.T)
pkg/gcsstore/gcsservice_test.go:113
Function
TestConcat
(t *testing.T)
pkg/handler/concat_test.go:14
Function
TestConcatUploads
(t *testing.T)
pkg/filestore/filestore_test.go:180
Function
TestConcatUploadsUsingDownload
(t *testing.T)
pkg/s3store/s3store_test.go:1321
Function
TestConcatUploadsUsingMultipart
(t *testing.T)
pkg/s3store/s3store_test.go:1205
Function
TestConfig
(t *testing.T)
pkg/handler/config_test.go:19
Function
TestConfigEmptyCore
(t *testing.T)
pkg/handler/config_test.go:36
Function
TestContext
(t *testing.T)
pkg/handler/context_test.go:66
Function
TestCreateDirectories
TestCreateDirectories tests whether an upload with a slash in its ID causes the correct directories to be created.
pkg/filestore/filestore_test.go:99
Function
TestCustomAbsolutePath
TestCustomAbsolutePath tests whether the upload's destination can be customized using an absolute path to the storage directory.
pkg/filestore/filestore_test.go:340
Function
TestCustomRelativePath
TestCustomRelativePath tests whether the upload's destination can be customized relative to the storage directory.
pkg/filestore/filestore_test.go:270
Function
TestDeclareLength
(t *testing.T)
pkg/azurestore/azurestore_test.go:390
Function
TestDeclareLength
(t *testing.T)
pkg/filestore/filestore_test.go:238
Function
TestDeclareLength
(t *testing.T)
pkg/s3store/s3store_test.go:656
Function
TestDeleteObject
(t *testing.T)
pkg/gcsstore/gcsservice_test.go:345
Function
TestDeleteObjectWithFilter
(t *testing.T)
pkg/gcsstore/gcsservice_test.go:70
Function
TestEmptyUpload
This test ensures that an newly created upload without any chunks can be directly finished. There are no calls to ListPart or HeadObject because the u
pkg/s3store/s3store_test.go:173
Function
TestFileLocker_DirectoryNotFound
(t *testing.T)
pkg/filelocker/filelocker_test.go:98
Function
TestFileLocker_RequestUnlock
(t *testing.T)
pkg/filelocker/filelocker_test.go:63
Function
TestFileLocker_Timeout
(t *testing.T)
pkg/filelocker/filelocker_test.go:35
Function
TestFilestore
(t *testing.T)
pkg/filestore/filestore_test.go:23
Function
TestFilterContentType
(t *testing.T)
pkg/handler/unrouted_handler_test.go:35
Function
TestFilterObject
(t *testing.T)
pkg/gcsstore/gcsservice_test.go:477
Function
TestFinishUpload
(t *testing.T)
pkg/azurestore/azurestore_test.go:313
Function
TestFinishUpload
(t *testing.T)
pkg/gcsstore/gcsstore_test.go:289
Function
TestFinishUpload
(t *testing.T)
pkg/s3store/s3store_test.go:699
Function
TestGet
(t *testing.T)
pkg/handler/get_test.go:22
Function
TestGetInfo
(t *testing.T)
pkg/gcsstore/gcsstore_test.go:132
Function
TestGetInfo
(t *testing.T)
pkg/s3store/s3store_test.go:284
Function
TestGetInfoFinished
(t *testing.T)
pkg/s3store/s3store_test.go:461
Function
TestGetInfoNotFound
(t *testing.T)
pkg/gcsstore/gcsstore_test.go:199
Function
TestGetInfoNotFound
(t *testing.T)
pkg/s3store/s3store_test.go:253
Function
TestGetInfoWithIncompletePart
(t *testing.T)
pkg/s3store/s3store_test.go:425
Function
TestGetInfoWithMetadataObjectPrefix
(t *testing.T)
pkg/s3store/s3store_test.go:354
Function
TestGetInfoWithPlusSign
TestGetInfoWithPlusSign ensures that s3store can handle a plus sign in the object ID. Currently the plus sign is used to separate the object ID and mu
pkg/s3store/s3store_test.go:497
Function
TestGetObjectAttrs
(t *testing.T)
pkg/gcsstore/gcsservice_test.go:222
Function
TestGetObjectSize
(t *testing.T)
pkg/gcsstore/gcsservice_test.go:24
Function
TestGetReader
(t *testing.T)
pkg/azurestore/azurestore_test.go:231
Function
TestGetReader
(t *testing.T)
pkg/gcsstore/gcsstore_test.go:224
Function
TestGetReader
(t *testing.T)
pkg/s3store/s3store_test.go:573
Function
TestGetReaderNotFinished
(t *testing.T)
pkg/s3store/s3store_test.go:625
Function
TestGetReaderNotFound
(t *testing.T)
pkg/s3store/s3store_test.go:596
Function
TestGetUpload
(t *testing.T)
pkg/azurestore/azurestore_test.go:138
Function
TestGetUploadNotFound
(t *testing.T)
pkg/azurestore/azurestore_test.go:208
Function
TestGetUploadTooLargeBlob
(t *testing.T)
pkg/azurestore/azurestore_test.go:175
← previous
next →
501–600 of 707, ranked by callers