datatx

package
v2.16.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 17, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Package datatx provides a library to abstract the complexity of using various data transfer protocols.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EmitFileUploadedEvent added in v2.4.0

func EmitFileUploadedEvent(spaceOwnerOrManager, executant *userv1beta1.UserId, ref *provider.Reference, publisher events.Publisher) error

EmitFileUploadedEvent is a helper function which publishes a FileUploaded event

func InvalidateCache added in v2.11.0

func InvalidateCache(owner *userv1beta1.UserId, ref *provider.Reference, statCache cache.StatCache)

InvalidateCache is a helper function which invalidates the stat cache

Types

type DataTX

type DataTX interface {
	Handler(fs storage.FS) (http.Handler, error)
}

DataTX provides an abstraction around various data transfer protocols.

Directories

Path Synopsis
manager
tus
Package metrics provides prometheus metrics for the data managers..
Package metrics provides prometheus metrics for the data managers..
utils
download
Package download provides a library to handle file download requests.
Package download provides a library to handle file download requests.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL