Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultArguments = Arguments{ RefreshInterval: 30 * time.Second, Type: "SRV", }
Functions ¶
Types ¶
type Arguments ¶
type Arguments struct { Names []string `alloy:"names,attr"` RefreshInterval time.Duration `alloy:"refresh_interval,attr,optional"` Type string `alloy:"type,attr,optional"` Port int `alloy:"port,attr,optional"` }
Arguments configures the discovery.dns component.
func (*Arguments) SetToDefault ¶
func (args *Arguments) SetToDefault()
SetToDefault implements syntax.Defaulter.
Click to show internal directories.
Click to hide internal directories.