MCPcopy Create free account

hub / github.com/tus/tusd / functions

Functions707 in github.com/tus/tusd

FunctionRegisterHookHandlerServer
(s grpc.ServiceRegistrar, srv HookHandlerServer)
pkg/hooks/grpc/proto/hook_grpc.pb.go:79
MethodRemain
()
pkg/gcsstore/gcsstore_test.go:124
MethodRemain
Remain mocks base method.
pkg/gcsstore/gcsstore_mock_test.go:83
MethodRemain
Remain indicates an expected call of Remain.
pkg/gcsstore/gcsstore_mock_test.go:91
MethodRemain
()
pkg/gcsstore/gcsservice.go:55
MethodReset
()
pkg/hooks/grpc/proto/hook.pb.go:43
MethodReset
()
pkg/hooks/grpc/proto/hook.pb.go:103
MethodReset
()
pkg/hooks/grpc/proto/hook.pb.go:180
MethodReset
()
pkg/hooks/grpc/proto/hook.pb.go:305
MethodReset
()
pkg/hooks/grpc/proto/hook.pb.go:374
MethodReset
()
pkg/hooks/grpc/proto/hook.pb.go:468
MethodReset
()
pkg/hooks/grpc/proto/hook.pb.go:542
MethodServeContent
(ctx context.Context, w http.ResponseWriter, r *http.Request)
pkg/filestore/filestore.go:315
MethodServeContent
(ctx context.Context, w http.ResponseWriter, r *http.Request)
pkg/s3store/serve_content.go:21
MethodServer
(*plugin.MuxBroker)
pkg/hooks/plugin/plugin.go:142
MethodSetObjectMetadata
SetObjectMetadata mocks base method.
pkg/gcsstore/gcsstore_mock_test.go:221
MethodSetObjectMetadata
SetObjectMetadata indicates an expected call of SetObjectMetadata.
pkg/gcsstore/gcsstore_mock_test.go:229
MethodSetup
Setup mocks base method.
pkg/hooks/hooks_mock_test.go:52
MethodSetup
Setup indicates an expected call of Setup.
pkg/hooks/hooks_mock_test.go:60
MethodSetup
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
MethodSetup
()
pkg/hooks/plugin/plugin.go:95
MethodSetup
(args any, resp *any)
pkg/hooks/plugin/plugin.go:118
MethodSetup
()
pkg/hooks/http/http.go:35
MethodSetup
()
pkg/hooks/grpc/grpc.go:36
MethodSetup
()
pkg/hooks/file/file.go:24
MethodSetup
Setup is called once the plugin has been loaded by tusd.
examples/hooks/plugin/hook_handler.go:16
MethodSize
()
pkg/gcsstore/gcsstore_test.go:128
MethodSize
Size mocks base method.
pkg/gcsstore/gcsstore_mock_test.go:97
MethodSize
Size indicates an expected call of Size.
pkg/gcsstore/gcsstore_mock_test.go:105
MethodStageSentinelBlock
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
MethodStageSentinelBlock
infoBlob does not use a sentinel block, so this is a no-op.
pkg/azurestore/azureservice.go:299
MethodStageSentinelBlock
StageSentinelBlock mocks base method.
pkg/azurestore/azurestore_mock_test.go:136
MethodStageSentinelBlock
StageSentinelBlock indicates an expected call of StageSentinelBlock.
pkg/azurestore/azurestore_mock_test.go:144
MethodString
()
pkg/hooks/grpc/proto/hook.pb.go:52
MethodString
()
pkg/hooks/grpc/proto/hook.pb.go:189
MethodString
()
pkg/hooks/grpc/proto/hook.pb.go:314
MethodString
()
pkg/hooks/grpc/proto/hook.pb.go:383
MethodString
()
pkg/hooks/grpc/proto/hook.pb.go:477
MethodString
()
pkg/hooks/grpc/proto/hook.pb.go:551
MethodString
()
pkg/handler/context_test.go:33
MethodString
()
pkg/handler/context_test.go:62
MethodString
()
pkg/s3store/s3store_util_test.go:53
MethodString
()
cmd/tusd/cli/flags.go:104
MethodTerminate
(ctx context.Context)
pkg/azurestore/azurestore.go:229
MethodTerminate
(ctx context.Context)
pkg/gcsstore/gcsstore.go:308
MethodTerminate
(ctx context.Context)
pkg/filestore/filestore.go:242
MethodTerminate
Terminate mocks base method.
pkg/handler/handler_mock_test.go:207
MethodTerminate
Terminate indicates an expected call of Terminate.
pkg/handler/handler_mock_test.go:215
MethodTerminate
(ctx context.Context)
pkg/s3store/s3store.go:776
FunctionTestCORS
(t *testing.T)
pkg/handler/cors_test.go:12
FunctionTestCalcOptimalPartSize
(t *testing.T)
pkg/s3store/calcpartsize_test.go:37
FunctionTestCalcOptimalPartSize_AllUploadSizes
(t *testing.T)
pkg/s3store/calcpartsize_test.go:132
FunctionTestCalcOptimalPartSize_ExceedingMaxPartSize
(t *testing.T)
pkg/s3store/calcpartsize_test.go:159
FunctionTestComposeFrom
(t *testing.T)
pkg/gcsstore/gcsservice_test.go:428
FunctionTestComposeNoObjects
(t *testing.T)
pkg/gcsstore/gcsservice_test.go:198
FunctionTestComposeObjects
(t *testing.T)
pkg/gcsstore/gcsservice_test.go:113
FunctionTestConcat
(t *testing.T)
pkg/handler/concat_test.go:14
FunctionTestConcatUploads
(t *testing.T)
pkg/filestore/filestore_test.go:180
FunctionTestConcatUploadsUsingDownload
(t *testing.T)
pkg/s3store/s3store_test.go:1321
FunctionTestConcatUploadsUsingMultipart
(t *testing.T)
pkg/s3store/s3store_test.go:1205
FunctionTestConfig
(t *testing.T)
pkg/handler/config_test.go:19
FunctionTestConfigEmptyCore
(t *testing.T)
pkg/handler/config_test.go:36
FunctionTestContext
(t *testing.T)
pkg/handler/context_test.go:66
FunctionTestCreateDirectories
TestCreateDirectories tests whether an upload with a slash in its ID causes the correct directories to be created.
pkg/filestore/filestore_test.go:99
FunctionTestCustomAbsolutePath
TestCustomAbsolutePath tests whether the upload's destination can be customized using an absolute path to the storage directory.
pkg/filestore/filestore_test.go:340
FunctionTestCustomRelativePath
TestCustomRelativePath tests whether the upload's destination can be customized relative to the storage directory.
pkg/filestore/filestore_test.go:270
FunctionTestDeclareLength
(t *testing.T)
pkg/azurestore/azurestore_test.go:390
FunctionTestDeclareLength
(t *testing.T)
pkg/filestore/filestore_test.go:238
FunctionTestDeclareLength
(t *testing.T)
pkg/s3store/s3store_test.go:656
FunctionTestDeleteObject
(t *testing.T)
pkg/gcsstore/gcsservice_test.go:345
FunctionTestDeleteObjectWithFilter
(t *testing.T)
pkg/gcsstore/gcsservice_test.go:70
FunctionTestEmptyUpload
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
FunctionTestFileLocker_DirectoryNotFound
(t *testing.T)
pkg/filelocker/filelocker_test.go:98
FunctionTestFileLocker_RequestUnlock
(t *testing.T)
pkg/filelocker/filelocker_test.go:63
FunctionTestFileLocker_Timeout
(t *testing.T)
pkg/filelocker/filelocker_test.go:35
FunctionTestFilestore
(t *testing.T)
pkg/filestore/filestore_test.go:23
FunctionTestFilterContentType
(t *testing.T)
pkg/handler/unrouted_handler_test.go:35
FunctionTestFilterObject
(t *testing.T)
pkg/gcsstore/gcsservice_test.go:477
FunctionTestFinishUpload
(t *testing.T)
pkg/azurestore/azurestore_test.go:313
FunctionTestFinishUpload
(t *testing.T)
pkg/gcsstore/gcsstore_test.go:289
FunctionTestFinishUpload
(t *testing.T)
pkg/s3store/s3store_test.go:699
FunctionTestGet
(t *testing.T)
pkg/handler/get_test.go:22
FunctionTestGetInfo
(t *testing.T)
pkg/gcsstore/gcsstore_test.go:132
FunctionTestGetInfo
(t *testing.T)
pkg/s3store/s3store_test.go:284
FunctionTestGetInfoFinished
(t *testing.T)
pkg/s3store/s3store_test.go:461
FunctionTestGetInfoNotFound
(t *testing.T)
pkg/gcsstore/gcsstore_test.go:199
FunctionTestGetInfoNotFound
(t *testing.T)
pkg/s3store/s3store_test.go:253
FunctionTestGetInfoWithIncompletePart
(t *testing.T)
pkg/s3store/s3store_test.go:425
FunctionTestGetInfoWithMetadataObjectPrefix
(t *testing.T)
pkg/s3store/s3store_test.go:354
FunctionTestGetInfoWithPlusSign
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
FunctionTestGetObjectAttrs
(t *testing.T)
pkg/gcsstore/gcsservice_test.go:222
FunctionTestGetObjectSize
(t *testing.T)
pkg/gcsstore/gcsservice_test.go:24
FunctionTestGetReader
(t *testing.T)
pkg/azurestore/azurestore_test.go:231
FunctionTestGetReader
(t *testing.T)
pkg/gcsstore/gcsstore_test.go:224
FunctionTestGetReader
(t *testing.T)
pkg/s3store/s3store_test.go:573
FunctionTestGetReaderNotFinished
(t *testing.T)
pkg/s3store/s3store_test.go:625
FunctionTestGetReaderNotFound
(t *testing.T)
pkg/s3store/s3store_test.go:596
FunctionTestGetUpload
(t *testing.T)
pkg/azurestore/azurestore_test.go:138
FunctionTestGetUploadNotFound
(t *testing.T)
pkg/azurestore/azurestore_test.go:208
FunctionTestGetUploadTooLargeBlob
(t *testing.T)
pkg/azurestore/azurestore_test.go:175
← previousnext →501–600 of 707, ranked by callers