MCPcopy Create free account

hub / github.com/tus/tusd / functions

Functions707 in github.com/tus/tusd

MethodGetReader
(ctx context.Context)
pkg/filestore/filestore.go:238
MethodGetReader
GetReader mocks base method.
pkg/handler/handler_mock_test.go:192
MethodGetReader
GetReader indicates an expected call of GetReader.
pkg/handler/handler_mock_test.go:201
MethodGetReader
(ctx context.Context)
pkg/s3store/s3store.go:732
MethodGetRejectUpload
()
pkg/hooks/grpc/proto/hook.pb.go:507
MethodGetRemoteAddr
()
pkg/hooks/grpc/proto/hook.pb.go:420
MethodGetSize
()
pkg/hooks/grpc/proto/hook.pb.go:219
MethodGetSizeIsDeferred
()
pkg/hooks/grpc/proto/hook.pb.go:226
MethodGetStatusCode
()
pkg/hooks/grpc/proto/hook.pb.go:574
MethodGetStopUpload
()
pkg/hooks/grpc/proto/hook.pb.go:521
MethodGetStorage
()
pkg/hooks/grpc/proto/hook.pb.go:268
MethodGetStorage
()
pkg/hooks/grpc/proto/hook.pb.go:351
MethodGetType
()
pkg/hooks/grpc/proto/hook.pb.go:75
MethodGetUpload
(ctx context.Context, id string)
pkg/azurestore/azurestore.go:102
MethodGetUpload
()
pkg/hooks/grpc/proto/hook.pb.go:135
MethodGetUpload
(ctx context.Context, id string)
pkg/gcsstore/gcsstore.go:84
MethodGetUpload
(ctx context.Context, id string)
pkg/filestore/filestore.go:130
MethodGetUpload
(ctx context.Context, id string)
pkg/handler/config_test.go:15
MethodGetUpload
GetUpload mocks base method.
pkg/handler/handler_mock_test.go:82
MethodGetUpload
GetUpload indicates an expected call of GetUpload.
pkg/handler/handler_mock_test.go:91
MethodGetUpload
(ctx context.Context, id string)
pkg/s3store/s3store.go:365
MethodGetUri
()
pkg/hooks/grpc/proto/hook.pb.go:413
MethodHeadObject
HeadObject mocks base method.
pkg/s3store/s3store_mock_test.go:159
MethodHeadObject
HeadObject indicates an expected call of HeadObject.
pkg/s3store/s3store_mock_test.go:172
MethodHeadObject
HeadObject implements the s3store.S3API interface
internal/s3log/s3log.go:120
MethodHeadObject
HeadObject mocks base method.
internal/s3log/s3log_mock_test.go:159
MethodHeadObject
HeadObject indicates an expected call of HeadObject.
internal/s3log/s3log_mock_test.go:172
MethodInvokeHook
InvokeHook mocks base method.
pkg/hooks/hooks_mock_test.go:37
MethodInvokeHook
InvokeHook indicates an expected call of InvokeHook.
pkg/hooks/hooks_mock_test.go:46
MethodInvokeHook
(req hooks.HookRequest)
pkg/hooks/plugin/plugin.go:67
MethodInvokeHook
(req hooks.HookRequest)
pkg/hooks/plugin/plugin.go:101
MethodInvokeHook
(args hooks.HookRequest, resp *hooks.HookResponse)
pkg/hooks/plugin/plugin.go:122
MethodInvokeHook
(hookReq hooks.HookRequest)
pkg/hooks/http/http.go:68
MethodInvokeHook
(hookReq hooks.HookRequest)
pkg/hooks/grpc/grpc.go:90
MethodInvokeHook
(ctx context.Context, in *HookRequest, opts ...grpc.CallOption)
pkg/hooks/grpc/proto/hook_grpc.pb.go:41
MethodInvokeHook
InvokeHook is invoked for every hook that is executed. HookRequest contains the corresponding information about the hook type, the involved upload, an
pkg/hooks/grpc/proto/hook_grpc.pb.go:59
MethodInvokeHook
(context.Context, *HookRequest)
pkg/hooks/grpc/proto/hook_grpc.pb.go:67
MethodInvokeHook
(req hooks.HookRequest)
pkg/hooks/file/file.go:28
MethodInvokeHook
InvokeHook is called for every hook that tusd fires.
examples/hooks/plugin/hook_handler.go:25
MethodInvokeHook
InvokeHook is invoked for every hook that is executed. HookRequest contains the corresponding information about the hook type, the involved up
examples/hooks/grpc/hook_pb2_grpc.py:49
MethodInvokeHook
(request, target, options=(), channel_credentials=None, call_c
examples/hooks/grpc/hook_pb2_grpc.py:81
MethodInvokeHook
(self, hook_request, context)
examples/hooks/grpc/server.py:13
MethodListParts
ListParts mocks base method.
pkg/s3store/s3store_mock_test.go:179
MethodListParts
ListParts indicates an expected call of ListParts.
pkg/s3store/s3store_mock_test.go:192
MethodListParts
ListParts implements the s3store.S3API interface
internal/s3log/s3log.go:96
MethodListParts
ListParts mocks base method.
internal/s3log/s3log_mock_test.go:179
MethodListParts
ListParts indicates an expected call of ListParts.
internal/s3log/s3log_mock_test.go:192
MethodLock
Lock tries to obtain the exclusive lock.
pkg/memorylocker/memorylocker.go:60
MethodLock
(ctx context.Context, requestRelease func())
pkg/filelocker/filelocker.go:91
MethodLock
Lock mocks base method.
pkg/handler/handler_mock_test.go:297
MethodLock
Lock indicates an expected call of Lock.
pkg/handler/handler_mock_test.go:305
MethodMatches
(a any)
pkg/handler/context_test.go:23
MethodMatches
(a any)
pkg/handler/context_test.go:44
MethodMatches
(x any)
pkg/handler/utils_test.go:112
MethodMatches
(x any)
pkg/s3store/s3store_util_test.go:22
MethodMatches
(x any)
pkg/s3store/s3store_util_test.go:69
MethodNewBlob
Determine if we return a InfoBlob or BlockBlob, based on the name
pkg/azurestore/azureservice.go:169
MethodNewBlob
NewBlob mocks base method.
pkg/azurestore/azurestore_mock_test.go:40
MethodNewBlob
NewBlob indicates an expected call of NewBlob.
pkg/azurestore/azurestore_mock_test.go:49
FunctionNewGCSService
NewGCSService returns a GCSService object given a GCloud service account file path.
pkg/gcsstore/gcsservice.go:82
FunctionNewHookHandlerClient
(cc grpc.ClientConnInterface)
pkg/hooks/grpc/proto/hook_grpc.pb.go:37
MethodNewLock
(id string)
pkg/memorylocker/memorylocker.go:50
MethodNewLock
(id string)
pkg/filelocker/filelocker.go:63
MethodNewLock
NewLock mocks base method.
pkg/handler/handler_mock_test.go:259
MethodNewLock
NewLock indicates an expected call of NewLock.
pkg/handler/handler_mock_test.go:268
FunctionNewMockGCSReader
NewMockGCSReader creates a new mock instance.
pkg/gcsstore/gcsstore_mock_test.go:28
MethodNewUpload
(ctx context.Context, info handler.FileInfo)
pkg/azurestore/azurestore.go:52
MethodNewUpload
(ctx context.Context, info handler.FileInfo)
pkg/gcsstore/gcsstore.go:60
MethodNewUpload
(ctx context.Context, info handler.FileInfo)
pkg/filestore/filestore.go:81
MethodNewUpload
(ctx context.Context, info FileInfo)
pkg/handler/config_test.go:12
MethodNewUpload
NewUpload mocks base method.
pkg/handler/handler_mock_test.go:97
MethodNewUpload
NewUpload indicates an expected call of NewUpload.
pkg/handler/handler_mock_test.go:106
MethodNewUpload
(ctx context.Context, info handler.FileInfo)
pkg/s3store/s3store.go:311
MethodProtoMessage
()
pkg/hooks/grpc/proto/hook.pb.go:56
MethodProtoMessage
()
pkg/hooks/grpc/proto/hook.pb.go:116
MethodProtoMessage
()
pkg/hooks/grpc/proto/hook.pb.go:193
MethodProtoMessage
()
pkg/hooks/grpc/proto/hook.pb.go:318
MethodProtoMessage
()
pkg/hooks/grpc/proto/hook.pb.go:387
MethodProtoMessage
()
pkg/hooks/grpc/proto/hook.pb.go:481
MethodProtoMessage
()
pkg/hooks/grpc/proto/hook.pb.go:555
MethodProtoReflect
()
pkg/hooks/grpc/proto/hook.pb.go:58
MethodProtoReflect
()
pkg/hooks/grpc/proto/hook.pb.go:118
MethodProtoReflect
()
pkg/hooks/grpc/proto/hook.pb.go:195
MethodProtoReflect
()
pkg/hooks/grpc/proto/hook.pb.go:320
MethodProtoReflect
()
pkg/hooks/grpc/proto/hook.pb.go:389
MethodProtoReflect
()
pkg/hooks/grpc/proto/hook.pb.go:483
MethodProtoReflect
()
pkg/hooks/grpc/proto/hook.pb.go:557
MethodPutObject
PutObject mocks base method.
pkg/s3store/s3store_mock_test.go:199
MethodPutObject
PutObject indicates an expected call of PutObject.
pkg/s3store/s3store_mock_test.go:212
MethodPutObject
PutObject implements the s3store.S3API interface
internal/s3log/s3log.go:88
MethodPutObject
PutObject mocks base method.
internal/s3log/s3log_mock_test.go:199
MethodPutObject
PutObject indicates an expected call of PutObject.
internal/s3log/s3log_mock_test.go:212
MethodRead
(p []byte)
pkg/gcsstore/gcsstore_test.go:120
MethodRead
Read mocks base method.
pkg/gcsstore/gcsstore_mock_test.go:68
MethodRead
Read indicates an expected call of Read.
pkg/gcsstore/gcsstore_mock_test.go:77
MethodRead
(b []byte)
pkg/handler/body_reader.go:47
MethodRead
(b []byte)
pkg/s3store/s3store_part_producer_test.go:15
MethodRead
(b []byte)
pkg/s3store/s3store_part_producer_test.go:22
MethodReadObject
ReadObject mocks base method.
pkg/gcsstore/gcsstore_mock_test.go:206
MethodReadObject
ReadObject indicates an expected call of ReadObject.
pkg/gcsstore/gcsstore_mock_test.go:215
← previousnext →401–500 of 707, ranked by callers