Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultArguments = Arguments{ RefreshInterval: 60 * time.Second, HTTPClientConfig: config.DefaultHTTPClientConfig, }
Functions ¶
Types ¶
type Arguments ¶
type Arguments struct {
HTTPClientConfig config.HTTPClientConfig `alloy:",squash"`
RefreshInterval time.Duration `alloy:"refresh_interval,attr,optional"`
URL config.URL `alloy:"url,attr"`
}
func (*Arguments) UnmarshalAlloy ¶
Click to show internal directories.
Click to hide internal directories.