The temporal-activities
repository contains several predefined Temporal
activities implemented in Go that are ready to be integrated into your Temporal
workflows. Each activity is self-contained within its own package, with a
dedicated README file providing details on its functionality, usage, and
configuration.
- archiveextract
- archivezip
- bagcreate
- bagvalidate
- bucketdelete
- bucketdownload
- bucketupload
- ffvalidate
- removefiles
- removepaths
- xmlvalidate
Extracts the contents of an given archive to a directory. It supports the formats recognized by github.com/mholt/archiver and allows configuring the path and permissions of the extracted directories and files.
Creates a Zip archive from a given directory. Allows setting the destination path, if not set then the source directory path + ".zip" will be used.
Creates a BagIt Bag from a given directory path. Allows setting the path where the Bag should be created and the checksum algorithm used to generate file checksums.
Checks if the given directory is a valid BagIt Bag.
Deletes a file/blob from a configured gocloud.dev/blob bucket.
Downloads a file/blob from a configured gocloud.dev/blob bucket. Allows setting the directory, filename and permissions of the downloaded file.
Uploads a local file to a configured gocloud.dev/blob bucket. Allows setting the object key and the buffer size.
Identifies the file format of the files at the given path, recursively walking any sub-directories, and validates that the formats are in the list of allowed formats.
Deletes any file or directory (and children) within a given path whose name matches one of the values passed as names or patterns, and returns a count of deleted items.
Removes all the given directory/file paths and any children they may contain and returns any errors encountered.
Validates an XML file against an XSD schema. It also provides a validator based
on xmllint
.