Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Bundle ¶
type Bundle struct {
Manifest exporter.Manifest
BundleDir string // temp dir where bundle was extracted
BundleDB *sql.DB
}
Bundle is the extracted, validated contents of an import bundle. It holds the temp directory and opened bundle DB until Close is called.
func OpenAndValidate ¶
OpenAndValidate extracts the bundle, verifies integrity, and returns a validated Bundle ready for import. Caller must call Close() when done.
type Result ¶
type Result struct {
// counts of what was imported
Archives int
Backups int
Overrides int
ModPages int
Profiles int
InventoryScanned int
InventoryFailed int
}
Click to show internal directories.
Click to hide internal directories.