Documentation
¶
Index ¶
Constants ¶
View Source
const (
// ResultsRetentionPolicyAgent is the name of the logger for the retention policy agent cmd
ResultsRetentionPolicyAgent = "results-retention-policy-agent"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Agent ¶
type Agent struct { config.RetentionPolicy Logger *zap.SugaredLogger // contains filtered or unexported fields }
Agent have all the information needed to run retention job
func (*Agent) AgentOnStore ¶
func (a *Agent) AgentOnStore(logger *zap.SugaredLogger) func(name string, value interface{})
AgentOnStore returns a function that checks if agent are configured for a config.Store, and registers it if so
Click to show internal directories.
Click to hide internal directories.