Documentation ¶
Index ¶
Constants ¶
View Source
const ( // "github.com/cs3org/reva/internal/http/services/datagateway" is internal so we redeclare it here // TokenTransportHeader holds the header key for the reva transfer token TokenTransportHeader = "X-Reva-Transfer" )
Variables ¶
This section is empty.
Functions ¶
func ContextGetAuthorization ¶
ContextGetAuthorization gets the authorization from the context.
Types ¶
type CS3 ¶
type CS3 struct {
// contains filtered or unexported fields
}
func NewCS3Source ¶
func NewCS3Source(c gateway.GatewayAPIClient) CS3
type FileSystem ¶
type FileSystem struct {
// contains filtered or unexported fields
}
FileSystem is an image source using the local file system
func NewFileSystemSource ¶
func NewFileSystemSource(cfg config.FileSystemSource) FileSystem
NewFileSystemSource return a new FileSystem instance
func (FileSystem) Get ¶
func (s FileSystem) Get(ctx context.Context, file string) (io.ReadCloser, error)
Get retrieves an image from the filesystem.
type WebDav ¶
type WebDav struct {
// contains filtered or unexported fields
}
WebDav implements the Source interface for webdav services
func NewWebDavSource ¶
NewWebDavSource creates a new webdav instance.
Click to show internal directories.
Click to hide internal directories.