MCPcopy Index your code

hub / github.com/tus/tusd / types & classes

Types & classes140 in github.com/tus/tusd

↓ 2 callersTypeAliasHookType
pkg/hooks/hooks.go:91
↓ 1 callersClassHookHandler
examples/hooks/grpc/server.py:8
↓ 1 callersTypeAliasdraftVersion
pkg/handler/unrouted_handler.go:22
↓ 1 callersTypeAliaskeyType
pkg/handler/context_test.go:71
InterfaceAzBlob
pkg/azurestore/azureservice.go:75
StructAzConfig
pkg/azurestore/azureservice.go:66
InterfaceAzService
pkg/azurestore/azureservice.go:62
StructAzUpload
pkg/azurestore/azurestore.go:29
StructAzureStore
pkg/azurestore/azurestore.go:18
StructBlockBlob
pkg/azurestore/azureservice.go:91
StructChmodPermsValue
cmd/tusd/cli/flags.go:100
StructCollector
pkg/prometheuscollector/prometheuscollector.go:47
InterfaceConcatableUpload
pkg/handler/datastore.go:145
InterfaceConcaterDataStore
ConcaterDataStore is the interface required to be implemented if the Concatenation extension should be enabled. Only in this case, the handler will pa
pkg/handler/datastore.go:141
StructConfig
Config provides a way to configure the Handler depending on your needs.
pkg/handler/config.go:13
InterfaceContentServerDataStore
ContentServerDataStore is the interface for DataStores that can serve content directly. When the handler serves a GET request, it will pass the reques
pkg/handler/datastore.go:210
StructCorsConfig
CorsConfig provides a way to customize the the handling of Cross-Origin Resource Sharing (CORS). More details about CORS are available at https://deve
pkg/handler/config.go:113
InterfaceDataStore
DataStore is the base interface for storages to implement. It provides functions to create new uploads and fetch existing ones. Note: the context val
pkg/handler/datastore.go:113
StructError
Error represents an error with the intent to be sent in the HTTP response to the client. Therefore, it also contains a HTTPResponse, next to an error
pkg/handler/error.go:6
StructErrorReader
pkg/s3store/s3store_part_producer_test.go:20
StructErrorsTotalMap
ErrorsTotalMap stores the counters for the different HTTP errors.
pkg/handler/metrics.go:79
StructErrorsTotalMapEntry
pkg/handler/metrics.go:84
StructEvent
Event represents an event from tusd which can be handled by the application.
pkg/hooks/grpc/proto/hook.pb.go:90
StructFileHook
pkg/hooks/file/file.go:20
StructFileInfo
FileInfo contains information about a single upload resource.
pkg/hooks/grpc/proto/hook.pb.go:150
StructFileInfo
FileInfo contains information about a single upload resource.
pkg/handler/datastore.go:12
StructFileInfoChanges
FileInfoChanges collects changes the should be made to a FileInfo object. This can be done using the PreUploadCreateCallback to modify certain propert
pkg/hooks/grpc/proto/hook.pb.go:279
StructFileInfoChanges
FileInfoChanges collects changes the should be made to a FileInfo struct. This can be done using the PreUploadCreateCallback to modify certain propert
pkg/handler/datastore.go:61
StructFileLocker
See the handler.DataStore interface for documentation about the different methods.
pkg/filelocker/filelocker.go:34
StructFileStore
See the handler.DataStore interface for documentation about the different methods.
pkg/filestore/filestore.go:42
StructFlagGroupSet
internal/grouped_flags/grouped_flags.go:19
InterfaceFullDataStore
go:generate mockgen -package handler_test -source utils_test.go -destination=handler_mock_test.go FullDataStore is an interface combining most interfa
pkg/handler/utils_test.go:24
InterfaceFullLock
pkg/handler/utils_test.go:42
InterfaceFullLocker
pkg/handler/utils_test.go:38
InterfaceFullUpload
pkg/handler/utils_test.go:31
InterfaceGCSAPI
GCSAPI is an interface composed of all the necessary GCS operations that are required to enable the tus protocol to work with Google's cloud storage.
pkg/gcsstore/gcsservice.go:62
StructGCSComposeParams
pkg/gcsstore/gcsservice.go:29
StructGCSFilterParams
pkg/gcsstore/gcsservice.go:40
StructGCSObjectParams
pkg/gcsstore/gcsservice.go:21
InterfaceGCSReader
GCSReader implements cloud.google.com/go/storage.Reader. It is used to read Google Cloud storage objects. TODO: Remain, Size, ContentType seem to only
pkg/gcsstore/gcsservice.go:51
StructGCSService
GCSService holds the cloud.google.com/go/storage client as well as its associated context. Closures are used as minimal wrappers around the Google Clo
pkg/gcsstore/gcsservice.go:77
StructGCSStore
See the handler.DataStore interface for documentation about the different methods.
pkg/gcsstore/gcsstore.go:32
StructGrpcHook
pkg/hooks/grpc/grpc.go:24
TypeAliasHTTPHeader
pkg/handler/http.go:21
ClassHTTPHookHandler
examples/hooks/http/server.py:8
StructHTTPRequest
HTTPRequest contains basic details of an incoming HTTP request.
pkg/hooks/grpc/proto/hook.pb.go:359
StructHTTPRequest
HTTPRequest contains basic details of an incoming HTTP request.
pkg/handler/http.go:10
StructHTTPResponse
HTTPResponse contains basic details of an outgoing HTTP response.
pkg/hooks/grpc/proto/hook.pb.go:529
StructHTTPResponse
HTTPResponse contains basic details of an outgoing HTTP response.
pkg/handler/http.go:24
StructHandler
Handler is a ready to use handler with routing
pkg/handler/handler.go:9
StructHookEvent
HookEvent represents an event from tusd which can be handled by the application.
pkg/handler/hooks.go:8
ClassHookHandler
The hook service definition.
examples/hooks/grpc/hook_pb2_grpc.py:76
InterfaceHookHandler
HookHandler is the main inferface to be implemented by all hook backends.
pkg/hooks/hooks.go:30
InterfaceHookHandlerClient
HookHandlerClient is the client API for HookHandler service. For semantics around ctx use and closing/ending streaming RPCs, please refer to https://
pkg/hooks/grpc/proto/hook_grpc.pb.go:24
StructHookHandlerPlugin
This is the implementation of plugin.Plugin so we can serve/consume this This has two methods: Server must return an RPC server for this plugin type.
pkg/hooks/plugin/plugin.go:137
StructHookHandlerRPC
Here is an implementation that talks over RPC
pkg/hooks/plugin/plugin.go:93
StructHookHandlerRPCServer
Here is the RPC server that HookHandlerRPC talks to, conforming to the requirements of net/rpc
pkg/hooks/plugin/plugin.go:113
InterfaceHookHandlerServer
HookHandlerServer is the server API for HookHandler service. All implementations must embed UnimplementedHookHandlerServer for forward compatibility
pkg/hooks/grpc/proto/hook_grpc.pb.go:53
ClassHookHandlerServicer
The hook service definition.
examples/hooks/grpc/hook_pb2_grpc.py:45
ClassHookHandlerStub
The hook service definition.
examples/hooks/grpc/hook_pb2_grpc.py:28
StructHookRequest
HookRequest contains the information about the hook type, the involved upload, and causing HTTP request.
pkg/hooks/hooks.go:45
StructHookRequest
HookRequest contains the information about the hook type, the involved upload, and causing HTTP request.
pkg/hooks/grpc/proto/hook.pb.go:32
StructHookResponse
HookResponse is the response after a hook is executed.
pkg/hooks/hooks.go:53
StructHookResponse
HookResponse is the response after a hook is executed.
pkg/hooks/grpc/proto/hook.pb.go:435
StructHttpHook
pkg/hooks/http/http.go:23
StructInfiniteZeroReader
pkg/s3store/s3store_part_producer_test.go:13
StructInfoBlob
pkg/azurestore/azureservice.go:97
InterfaceLengthDeclarableUpload
pkg/handler/datastore.go:163
InterfaceLengthDeferrerDataStore
LengthDeferrerDataStore is the interface that must be implemented if the creation-defer-length extension should be enabled. The extension enables a cl
pkg/handler/datastore.go:159
InterfaceLock
Lock is the interface for a lock as returned from a Locker.
pkg/handler/datastore.go:180
InterfaceLocker
Locker is the interface required for custom lock persisting mechanisms. Common ways to store this information is in memory, on disk or using an extern
pkg/handler/datastore.go:174
StructMemoryLocker
MemoryLocker persists locks using memory and therefore allowing a simple and cheap mechanism. Locks will only exist as long as this object is kept in
pkg/memorylocker/memorylocker.go:28
TypeAliasMetaData
pkg/handler/datastore.go:9
StructMetrics
Metrics provides numbers about the usage of the tusd handler. Since these may be accessed from multiple goroutines, it is necessary to read and modify
pkg/handler/metrics.go:14
StructMockAzBlob
MockAzBlob is a mock of AzBlob interface.
pkg/azurestore/azurestore_mock_test.go:55
StructMockAzBlobMockRecorder
MockAzBlobMockRecorder is the mock recorder for MockAzBlob.
pkg/azurestore/azurestore_mock_test.go:61
StructMockAzService
MockAzService is a mock of AzService interface.
pkg/azurestore/azurestore_mock_test.go:17
StructMockAzServiceMockRecorder
MockAzServiceMockRecorder is the mock recorder for MockAzService.
pkg/azurestore/azurestore_mock_test.go:23
StructMockFullDataStore
MockFullDataStore is a mock of FullDataStore interface.
pkg/handler/handler_mock_test.go:17
StructMockFullDataStoreMockRecorder
MockFullDataStoreMockRecorder is the mock recorder for MockFullDataStore.
pkg/handler/handler_mock_test.go:23
StructMockFullLock
MockFullLock is a mock of FullLock interface.
pkg/handler/handler_mock_test.go:274
StructMockFullLockMockRecorder
MockFullLockMockRecorder is the mock recorder for MockFullLock.
pkg/handler/handler_mock_test.go:280
StructMockFullLocker
MockFullLocker is a mock of FullLocker interface.
pkg/handler/handler_mock_test.go:236
StructMockFullLockerMockRecorder
MockFullLockerMockRecorder is the mock recorder for MockFullLocker.
pkg/handler/handler_mock_test.go:242
StructMockFullUpload
MockFullUpload is a mock of FullUpload interface.
pkg/handler/handler_mock_test.go:112
StructMockFullUploadMockRecorder
MockFullUploadMockRecorder is the mock recorder for MockFullUpload.
pkg/handler/handler_mock_test.go:118
StructMockGCSAPI
MockGCSAPI is a mock of GCSAPI interface.
pkg/gcsstore/gcsstore_mock_test.go:111
StructMockGCSAPIMockRecorder
MockGCSAPIMockRecorder is the mock recorder for MockGCSAPI.
pkg/gcsstore/gcsstore_mock_test.go:117
StructMockGCSReader
MockGCSReader is a mock of GCSReader interface.
pkg/gcsstore/gcsstore_mock_test.go:17
StructMockGCSReaderMockRecorder
MockGCSReaderMockRecorder is the mock recorder for MockGCSReader.
pkg/gcsstore/gcsstore_mock_test.go:23
StructMockHookHandler
MockHookHandler is a mock of HookHandler interface.
pkg/hooks/hooks_mock_test.go:14
StructMockHookHandlerMockRecorder
MockHookHandlerMockRecorder is the mock recorder for MockHookHandler.
pkg/hooks/hooks_mock_test.go:20
StructMockReader
MockReader is an implementation of GCSReader.
pkg/gcsstore/gcsstore_test.go:108
StructMockS3API
MockS3API is a mock of S3API interface.
pkg/s3store/s3store_mock_test.go:16
StructMockS3API
MockS3API is a mock of S3API interface.
internal/s3log/s3log_mock_test.go:16
StructMockS3APIMockRecorder
MockS3APIMockRecorder is the mock recorder for MockS3API.
pkg/s3store/s3store_mock_test.go:22
StructMockS3APIMockRecorder
MockS3APIMockRecorder is the mock recorder for MockS3API.
internal/s3log/s3log_mock_test.go:22
StructMyHookHandler
Here is the implementation of our hook handler
examples/hooks/plugin/hook_handler.go:12
StructPluginHook
pkg/hooks/plugin/plugin.go:18
StructPutObjectInputMatcher
pkg/s3store/s3store_util_test.go:59
next →1–100 of 140, ranked by callers