Documentation
¶
Index ¶
- func HandleError(s *store.Store, scope string, err error)
- func HealthzExporter(s *store.Store) http.HandlerFunc
- func LogCSVExporter(s *store.Store) http.HandlerFunc
- func LogJsonExporter(s *store.Store) http.HandlerFunc
- func LogTSVExporter(s *store.Store) http.HandlerFunc
- func MetricsExporter(s *store.Store) http.HandlerFunc
- func New(s *store.Store) http.Handler
- func NewBasicAuth(handler http.Handler, userinfo string) http.Handler
- func StatusHTMLExporter(s *store.Store) http.HandlerFunc
- func StatusJSONExporter(s *store.Store) http.HandlerFunc
- func StatusTextExporter(s *store.Store) http.HandlerFunc
- type BasicAuth
- type LogFilter
- type LogGenerator
- type LogReader
- type LogScanner
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HealthzExporter ¶
func HealthzExporter(s *store.Store) http.HandlerFunc
func LogCSVExporter ¶
func LogCSVExporter(s *store.Store) http.HandlerFunc
func LogJsonExporter ¶
func LogJsonExporter(s *store.Store) http.HandlerFunc
func LogTSVExporter ¶
func LogTSVExporter(s *store.Store) http.HandlerFunc
func MetricsExporter ¶
func MetricsExporter(s *store.Store) http.HandlerFunc
func StatusHTMLExporter ¶
func StatusHTMLExporter(s *store.Store) http.HandlerFunc
func StatusJSONExporter ¶
func StatusJSONExporter(s *store.Store) http.HandlerFunc
func StatusTextExporter ¶
func StatusTextExporter(s *store.Store) http.HandlerFunc
Types ¶
type LogFilter ¶
type LogFilter struct {
Scanner LogScanner
Targets []string
}
type LogGenerator ¶
type LogGenerator struct {
// contains filtered or unexported fields
}
func NewLogGenerator ¶
func NewLogGenerator(s *store.Store, since, until time.Time) *LogGenerator
func (*LogGenerator) Bytes ¶
func (g *LogGenerator) Bytes() []byte
func (*LogGenerator) Close ¶
func (g *LogGenerator) Close() error
func (LogGenerator) Len ¶
func (g LogGenerator) Len() int
func (LogGenerator) Less ¶
func (g LogGenerator) Less(i, j int) bool
func (*LogGenerator) Record ¶
func (g *LogGenerator) Record() api.Record
func (*LogGenerator) Scan ¶
func (g *LogGenerator) Scan() bool
func (LogGenerator) Swap ¶
func (g LogGenerator) Swap(i, j int)
type LogReader ¶
type LogReader struct {
// contains filtered or unexported fields
}
func NewLogReaderFromReader ¶
func NewLogReaderFromReader(f io.ReadCloser, since, until time.Time) *LogReader
type LogScanner ¶
func NewLogScanner ¶
Click to show internal directories.
Click to hide internal directories.