Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultArguments = Arguments{ RefreshInterval: 30 * time.Second, HTTPClientConfig: config.DefaultHTTPClientConfig, }
Functions ¶
This section is empty.
Types ¶
type Arguments ¶
type Arguments struct { Servers []string `alloy:"servers,attr"` RefreshInterval time.Duration `alloy:"refresh_interval,attr,optional"` AuthToken alloytypes.Secret `alloy:"auth_token,attr,optional"` AuthTokenFile string `alloy:"auth_token_file,attr,optional"` HTTPClientConfig config.HTTPClientConfig `alloy:",squash"` }
func (Arguments) Convert ¶
func (a Arguments) Convert() discovery.DiscovererConfig
func (*Arguments) SetToDefault ¶
func (a *Arguments) SetToDefault()
SetToDefault implements syntax.Defaulter.
Click to show internal directories.
Click to hide internal directories.