Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Builder ¶
type Builder struct {
// contains filtered or unexported fields
}
Builder builds the status
func NewBuilder ¶
func NewBuilder(sourcesToTrack []*SourceToTrack) *Builder
NewBuilder returns a new Builder
type Integration ¶
Integration provides some information about a logs integration
type SourceToTrack ¶
type SourceToTrack struct {
// contains filtered or unexported fields
}
SourceToTrack represents a source tracker for a given integration space
func NewSourceToTrack ¶
func NewSourceToTrack(integrationName string, tracker *Tracker) *SourceToTrack
NewSourceToTrack returns a new SourceToTrack
type Status ¶
type Status struct { IsRunning bool `json:"is_running"` Integrations []Integration `json:"integrations"` }
Status provides some information about logs-agent
type Tracker ¶
type Tracker struct {
// contains filtered or unexported fields
}
Tracker Tracks errors and success operations for a given source it's designed to be thread safe
func (*Tracker) TrackError ¶
TrackError formats the error and keeps it in status
func (*Tracker) TrackSuccess ¶
func (t *Tracker) TrackSuccess()
TrackSuccess formats the success operation and keeps it in status
Click to show internal directories.
Click to hide internal directories.