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 `river:"names,attr"` RefreshInterval time.Duration `river:"refresh_interval,attr,optional"` Type string `river:"type,attr,optional"` Port int `river:"port,attr,optional"` }
Arguments configures the discovery.dns component.
func (*Arguments) SetToDefault ¶ added in v0.35.0
func (args *Arguments) SetToDefault()
SetToDefault implements river.Defaulter.
Click to show internal directories.
Click to hide internal directories.