Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultArguments = Arguments{ RefreshInterval: 60 * time.Second, Port: 80, HTTPClientConfig: config.DefaultHTTPClientConfig, }
Functions ¶
This section is empty.
Types ¶
type Arguments ¶
type Arguments struct { Host string `alloy:"host,attr"` Role string `alloy:"role,attr"` Port int `alloy:"port,attr,optional"` Filters []Filter `alloy:"filter,block,optional"` RefreshInterval time.Duration `alloy:"refresh_interval,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.