Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Archives ¶
func Archives() (map[string]DataDefinition, string)
func ArchivesAsJson ¶
func ListArchives ¶
func ListArchives()
func LoadArchive ¶
func UnescapeJsonString ¶ added in v1.57.0
The JSON encoder by default converts "<" and ">" to their corresponding Unicode values Since this info is not used in HTML, we need to convert back from Unicode to plain text
Types ¶
type DataDefinition ¶
type DataDefinition struct { Description string `json:"description,omitempty"` // Description of the database Origin string `json:"origin"` // [Required] Where is the archive FileName string `json:"file_name"` // [Required] File name that we will get locally InternalDirectory string `json:"internal-directory,omitempty"` // Optional internal directory of the archive ChangeDirectory bool `json:"change-dir,omitempty"` // Whether we need to operate within the internal directory LoadCommands []string `json:"load-commands"` // [Required] Set of commands used to load the archive Size uint64 `json:"size,omitempty"` // Size of original archive Sha256 string `json:"sha256,omitempty"` // SHA 256 checksum of the compressed archive }
Click to show internal directories.
Click to hide internal directories.