dataops

package
v0.6.5 Latest Latest
Warning

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

Go to latest
Published: Jul 29, 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 added in v0.5.0

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

func FetchMediaInfo

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

func GenerateThumbnail added in v0.6.2

func GenerateThumbnail(subjectType, uuid string, force bool) error

func GenerateThumbnailFlag added in v0.6.2

func GenerateThumbnailFlag()

func ImportFromJSON

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

func MoveImage added in v0.6.2

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 added in v0.6.2

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

func SaveUploadedImage added in v0.6.2

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