dataops

package
v0.0.0-...-2fc89d2 Latest Latest
Warning

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

Go to latest
Published: May 23, 2025 License: MIT Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeleteImage

func DeleteImage(subjectType, uuidStr string) error

func ExportToJSON

func ExportToJSON(subjectType string, limit int) error

func ExportToJSONAPI

func ExportToJSONAPI(subjectType string, limit, offset, sortBy int) ([]byte, error)

func FetchMediaInfo

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

func GenerateThumbnail

func GenerateThumbnail(subjectType, uuid string) error

func GenerateThumbnailFlag

func GenerateThumbnailFlag()

func ImportFromJSON

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

func MoveImage

func MoveImage(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 SaveRemoteImage

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

func SaveUploadedImage

func SaveUploadedImage(file io.Reader, subjectType, uuidStr 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