Documentation ¶
Index ¶
- func CloneOrPullRepo(repo, parent string) error
- func CreateCredentialsMappings(ctx context.Context, root string) error
- func CreateInventoryMappings(ctx context.Context, root string) error
- func IsStorageChanged(ts int64) bool
- func ListResources(ctx context.Context, root string) (*[]metadata.Metadata, error)
- func MarkStorageChanged()
- func ReceiveFileUpload(ctx context.Context, req *http.Request, location, formName string) (string, error)
- func ResolveName(name string) (string, bool)
- func Rewrite(path string) (string, bool)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CloneOrPullRepo ¶
func CreateCredentialsMappings ¶
CreateCredentialsMappings scans a file location for repo specific client credentials.
func CreateInventoryMappings ¶
CreateInventoryMappings scans a file location for podcast feeds and creates the canonical names mappings to their file location on the cdn.
func IsStorageChanged ¶
func ListResources ¶
ListResources collects all the media resources in the specified location and returns the metadata for these resources.
func MarkStorageChanged ¶
func MarkStorageChanged()
func ReceiveFileUpload ¶
func ReceiveFileUpload(ctx context.Context, req *http.Request, location, formName string) (string, error)
ReceiveFileUpload handles the reception of uploads and puts the files into a specified location
func ResolveName ¶
Resolve name returns the matching cdn GUID for a podcast's canonical name. If no mapping exists, the function just returns an empty string/false as status code.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.