Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IndicesSync ¶
IndicesSync runs the sync-download-extract-catalog pipeline for the requested indices. Pass disableUI=true to suppress the taskin progress bar — required whenever stdout must stay parseable (--json mode) or when there is no TTY to render into.
func PurgeIndices ¶ added in v0.7.3
func PurgeIndices() error
Types ¶
type IndexInfo ¶
type IndexInfo struct {
Name string `yaml:"name"`
LastSync time.Time `yaml:"last_sync"`
Size uint64 `yaml:"size"` // Size in bytes
LastUpdated string `yaml:"last_updated"` // From the server
// SchemaVersion is the table layout the index was imported with (see
// db.Schema.Version). Zero for indices synced before it was recorded.
SchemaVersion int `yaml:"schema_version,omitempty"`
}