Package model is a model abstraction of export import configuration and status.
const ( ImportFileOpen = "OPEN" ImportFilePending = "PENDING" ImportFileComplete = "COMPLETE" ImportFileFailed = "FAILED" )
type ExportImport ¶
ExportImport represents the configuration of a set of export files to be imported into this server, by pointing at the index file and remote root directory.
Active returns true if the ExportImport configuration is currently active based on From and Thru times.
type ImportFile ¶
ImportFile represents an individual export file that is scheduled for, or has been attempted or imported into the system.
type ImportFilePublicKey ¶
ImportFilePublicKey represents a possible signing key for export files being imported into this system. A given ExportImportID can have more than one associated key, and more than one that is currently valid.