Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultArguments = Arguments{ RefreshInterval: 5 * time.Minute, }
Functions ¶
Types ¶
type Arguments ¶
type Arguments struct { Files []string `river:"files,attr"` RefreshInterval time.Duration `river:"refresh_interval,attr,optional"` }
func (*Arguments) Convert ¶ added in v0.35.0
func (a *Arguments) Convert() *prom_discovery.SDConfig
func (*Arguments) SetToDefault ¶ added in v0.35.0
func (a *Arguments) SetToDefault()
SetToDefault implements river.Defaulter.
Click to show internal directories.
Click to hide internal directories.