Discover Packages
github.com/labstack/pitot
internal
annotations
package
Version:
v0.0.0-...-0301fe8
Opens a new window with list of versions in this module.
Published: Nov 23, 2026
License: Apache-2.0
Opens a new window with license information.
Imports: 5
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
var ErrRequest = errors .New ("annotations need a positive range of at most 430 days and at most 100 services")
type Anomaly struct {
Namespace string `json:"namespace"`
Service string `json:"service"`
Kind string `json:"kind"`
From time .Time `json:"from"`
To time .Time `json:"to"`
Title string `json:"title"`
Severity string `json:"severity"`
}
type Deploy struct {
Namespace string `json:"namespace"`
Service string `json:"service"`
Version string `json:"version"`
At time .Time `json:"at"`
}
type Request struct {
From time .Time `json:"from"`
To time .Time `json:"to"`
Services []string `json:"services,omitempty"`
Namespace string `json:"namespace,omitempty"`
}
type Response struct {
Deploys []Deploy `json:"deploys"`
Anomalies []Anomaly `json:"anomalies"`
Truncated bool `json:"truncated,omitempty"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.