Documentation ¶
Index ¶
- func ContainerCreated(r *provider.CreateContainerResponse, req *provider.CreateContainerRequest, ...) events.ContainerCreated
- func FileDownloaded(r *provider.InitiateFileDownloadResponse, ...) events.FileDownloaded
- func FileTouched(r *provider.TouchFileResponse, req *provider.TouchFileRequest, ...) events.FileTouched
- func FileUploaded(r *provider.InitiateFileUploadResponse, ...) events.FileUploaded
- func FileVersionRestored(r *provider.RestoreFileVersionResponse, ...) events.FileVersionRestored
- func ItemMoved(r *provider.MoveResponse, req *provider.MoveRequest, executant *user.UserId) events.ItemMoved
- func ItemPurged(r *provider.PurgeRecycleResponse, req *provider.PurgeRecycleRequest, ...) events.ItemPurged
- func ItemRestored(r *provider.RestoreRecycleItemResponse, ...) events.ItemRestored
- func ItemTrashed(r *provider.DeleteResponse, req *provider.DeleteRequest, ...) events.ItemTrashed
- func LinkAccessFailed(r *link.GetPublicShareByTokenResponse, req *link.GetPublicShareByTokenRequest, ...) events.LinkAccessFailed
- func LinkAccessed(r *link.GetPublicShareByTokenResponse, executant *user.UserId) events.LinkAccessed
- func LinkCreated(r *link.CreatePublicShareResponse, executant *user.UserId) events.LinkCreated
- func LinkRemoved(r *link.RemovePublicShareResponse, req *link.RemovePublicShareRequest, ...) events.LinkRemoved
- func LinkUpdated(r *link.UpdatePublicShareResponse, req *link.UpdatePublicShareRequest, ...) events.LinkUpdated
- func NewStream() grpc.StreamServerInterceptor
- func NewUnary(m map[string]interface{}) (grpc.UnaryServerInterceptor, int, error)
- func ReceivedShareUpdated(r *collaboration.UpdateReceivedShareResponse, executant *user.UserId) events.ReceivedShareUpdated
- func ShareCreated(r *collaboration.CreateShareResponse, executant *user.UserId) events.ShareCreated
- func ShareRemoved(r *collaboration.RemoveShareResponse, req *collaboration.RemoveShareRequest, ...) events.ShareRemoved
- func ShareUpdated(r *collaboration.UpdateShareResponse, req *collaboration.UpdateShareRequest, ...) events.ShareUpdated
- func SpaceCreated(r *provider.CreateStorageSpaceResponse, executant *user.UserId) events.SpaceCreated
- func SpaceDeleted(r *provider.DeleteStorageSpaceResponse, ...) events.SpaceDeleted
- func SpaceDisabled(r *provider.DeleteStorageSpaceResponse, ...) events.SpaceDisabled
- func SpaceEnabled(r *provider.UpdateStorageSpaceResponse, ...) events.SpaceEnabled
- func SpaceRenamed(r *provider.UpdateStorageSpaceResponse, ...) events.SpaceRenamed
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ContainerCreated ¶ added in v2.3.0
func ContainerCreated(r *provider.CreateContainerResponse, req *provider.CreateContainerRequest, executant *user.UserId) events.ContainerCreated
ContainerCreated converts the response to an event
func FileDownloaded ¶ added in v2.1.0
func FileDownloaded(r *provider.InitiateFileDownloadResponse, req *provider.InitiateFileDownloadRequest, executant *user.UserId) events.FileDownloaded
FileDownloaded converts the response to an event
func FileTouched ¶ added in v2.6.1
func FileTouched(r *provider.TouchFileResponse, req *provider.TouchFileRequest, executant *user.UserId) events.FileTouched
FileTouched converts the response to an event
func FileUploaded ¶ added in v2.1.0
func FileUploaded(r *provider.InitiateFileUploadResponse, req *provider.InitiateFileUploadRequest, executant *user.UserId) events.FileUploaded
FileUploaded converts the response to an event
func FileVersionRestored ¶ added in v2.1.0
func FileVersionRestored(r *provider.RestoreFileVersionResponse, req *provider.RestoreFileVersionRequest, executant *user.UserId) events.FileVersionRestored
FileVersionRestored converts the response to an event
func ItemMoved ¶ added in v2.1.0
func ItemMoved(r *provider.MoveResponse, req *provider.MoveRequest, executant *user.UserId) events.ItemMoved
ItemMoved converts the response to an event
func ItemPurged ¶ added in v2.1.0
func ItemPurged(r *provider.PurgeRecycleResponse, req *provider.PurgeRecycleRequest, executant *user.UserId) events.ItemPurged
ItemPurged converts the response to an event
func ItemRestored ¶ added in v2.1.0
func ItemRestored(r *provider.RestoreRecycleItemResponse, req *provider.RestoreRecycleItemRequest, executant *user.UserId) events.ItemRestored
ItemRestored converts the response to an event
func ItemTrashed ¶ added in v2.1.0
func ItemTrashed(r *provider.DeleteResponse, req *provider.DeleteRequest, executant *user.UserId) events.ItemTrashed
ItemTrashed converts the response to an event
func LinkAccessFailed ¶ added in v2.1.0
func LinkAccessFailed(r *link.GetPublicShareByTokenResponse, req *link.GetPublicShareByTokenRequest, executant *user.UserId) events.LinkAccessFailed
LinkAccessFailed converts the response to an event
func LinkAccessed ¶ added in v2.1.0
func LinkAccessed(r *link.GetPublicShareByTokenResponse, executant *user.UserId) events.LinkAccessed
LinkAccessed converts the response to an event
func LinkCreated ¶ added in v2.1.0
func LinkCreated(r *link.CreatePublicShareResponse, executant *user.UserId) events.LinkCreated
LinkCreated converts the response to an event
func LinkRemoved ¶ added in v2.1.0
func LinkRemoved(r *link.RemovePublicShareResponse, req *link.RemovePublicShareRequest, executant *user.UserId) events.LinkRemoved
LinkRemoved converts the response to an event
func LinkUpdated ¶ added in v2.1.0
func LinkUpdated(r *link.UpdatePublicShareResponse, req *link.UpdatePublicShareRequest, executant *user.UserId) events.LinkUpdated
LinkUpdated converts the response to an event
func NewStream ¶
func NewStream() grpc.StreamServerInterceptor
NewStream returns a new server stream interceptor that creates the application context.
func NewUnary ¶
func NewUnary(m map[string]interface{}) (grpc.UnaryServerInterceptor, int, error)
NewUnary returns a new unary interceptor that emits events when needed no lint because of the switch statement that should be extendable
func ReceivedShareUpdated ¶ added in v2.1.0
func ReceivedShareUpdated(r *collaboration.UpdateReceivedShareResponse, executant *user.UserId) events.ReceivedShareUpdated
ReceivedShareUpdated converts the response to an event
func ShareCreated ¶
func ShareCreated(r *collaboration.CreateShareResponse, executant *user.UserId) events.ShareCreated
ShareCreated converts the response to an event
func ShareRemoved ¶ added in v2.1.0
func ShareRemoved(r *collaboration.RemoveShareResponse, req *collaboration.RemoveShareRequest, executant *user.UserId) events.ShareRemoved
ShareRemoved converts the response to an event
func ShareUpdated ¶ added in v2.1.0
func ShareUpdated(r *collaboration.UpdateShareResponse, req *collaboration.UpdateShareRequest, executant *user.UserId) events.ShareUpdated
ShareUpdated converts the response to an event
func SpaceCreated ¶ added in v2.1.0
func SpaceCreated(r *provider.CreateStorageSpaceResponse, executant *user.UserId) events.SpaceCreated
SpaceCreated converts the response to an event
func SpaceDeleted ¶ added in v2.1.0
func SpaceDeleted(r *provider.DeleteStorageSpaceResponse, req *provider.DeleteStorageSpaceRequest, executant *user.UserId) events.SpaceDeleted
SpaceDeleted converts the response to an event
func SpaceDisabled ¶ added in v2.1.0
func SpaceDisabled(r *provider.DeleteStorageSpaceResponse, req *provider.DeleteStorageSpaceRequest, executant *user.UserId) events.SpaceDisabled
SpaceDisabled converts the response to an event
func SpaceEnabled ¶ added in v2.1.0
func SpaceEnabled(r *provider.UpdateStorageSpaceResponse, req *provider.UpdateStorageSpaceRequest, executant *user.UserId) events.SpaceEnabled
SpaceEnabled converts the response to an event
func SpaceRenamed ¶ added in v2.1.0
func SpaceRenamed(r *provider.UpdateStorageSpaceResponse, req *provider.UpdateStorageSpaceRequest, executant *user.UserId) events.SpaceRenamed
SpaceRenamed converts the response to an event
Types ¶
This section is empty.