dataops

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Aug 22, 2024 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeleteImage

func DeleteImage(imageFilePath string) error

func ExportToJSON

func ExportToJSON(subjectType string, limit int) error

func FetchMediaInfo

func FetchMediaInfo(subjectType, subjectID, apiTarget, externalURL string) (models.Subject, error)

func ImportFromJSON

func ImportFromJSON(importType, filePath string, downloadImage bool) error

func MoveDownloadedImage

func MoveDownloadedImage(subjectTypeOld, subjectTypeNew, uuidStr string)

func MovePreDownloadedImage

func MovePreDownloadedImage(subjectType, externalURL, uuidStr string)

func PreDownloadImage

func PreDownloadImage(imageURL, externalURL string)

func PreDownloadImageName

func PreDownloadImageName(externalURL string) (string, error)

func SaveImage

func SaveImage(imageURL, imageFilePath string, interval bool) error

func SaveUploadedFile

func SaveUploadedFile(file multipart.File, path string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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