Discover Packages
github.com/quacktel/cli
internal
manifest
package
Version:
v0.2.0
Opens a new window with list of versions in this module.
Published: Nov 21, 2026
License: Apache-2.0
Opens a new window with license information.
Imports: 12
Opens a new window with list of imports.
Imported by: 0 modules, 0 packages
The first number is the count of modules that contain a package that imports this one.
The module count is a better indicator of popularity than the package count.
A module with 100 importing packages is counted only once instead of 100 times,
reflecting the fact that the choice to use the package was likely made only once,
not 100 times.
A '?' means that the value hasn't been computed yet.
Opens a new window with list of known importers.
Documentation
Documentation
¶
View Source
const (
Name = "manifest.json"
Version = 1
)
ServiceDir keeps untrusted service names off the filesystem as paths; the hash separates names that slug alike.
Write renames a fully synced copy over path, so readers never see a partial manifest.
type File struct {
Path string `json:"path"`
Signal string `json:"signal"`
Rows int64 `json:"rows"`
Bytes int64 `json:"bytes"`
MinTime time .Time `json:"min_time,omitzero"`
MaxTime time .Time `json:"max_time,omitzero"`
}
Glob reads every service manifest under dataDir; a missing services dir means none.
type Manifest struct {
SchemaVersion int `json:"schema_version"`
ServiceName string `json:"service_name"`
Generation int64 `json:"generation"`
Files []File `json:"files"`
Retired []Retired `json:"retired,omitempty"`
}
type Retired struct {
Path string `json:"path"`
DeleteAfter time .Time `json:"delete_after"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.