Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FoldersToTarGZ ¶
FoldersToTarGZ compresses all files in a list of directores into a gzipped tar file Paths are kept the same as the full system path to avoid conflicts
func ReaderToFile ¶
ReaderToFile reads from a docker reader and writes the contents to a file until EOF
func WriteArchiveIDs ¶
func WriteArchiveIDs(archiveIDs []SerializeableArchive, csvFile string) error
Types ¶
type SerializeableArchive ¶
type SerializeableArchive struct { ArchiveID string `csv:"archive_id"` Checksum string `csv:"checksum"` Location string `csv:"location"` Timestamp time.Time `csv:"timestamp"` Expires bool `csv:"expires"` ExpiresTimestamp time.Time `csv:"expires_timestamp"` }
SerializeableArchive is an archive which can be serialized as a CSV object
func GetArchiveIDs ¶
func GetArchiveIDs(csvFile string) ([]SerializeableArchive, error)
Click to show internal directories.
Click to hide internal directories.