Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type Arguments ¶
type Arguments struct { RefreshInterval time.Duration `alloy:"refresh_interval,attr,optional"` Port int `alloy:"port,attr,optional"` BearerToken alloytypes.Secret `alloy:"bearer_token,attr,optional"` BearerTokenFile string `alloy:"bearer_token_file,attr,optional"` ProxyConfig *config.ProxyConfig `alloy:",squash"` FollowRedirects bool `alloy:"follow_redirects,attr,optional"` EnableHTTP2 bool `alloy:"enable_http2,attr,optional"` }
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.