Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultArguments = Arguments{
Role: "container",
Port: 9163,
RefreshInterval: 60 * time.Second,
Version: 1,
}
Functions ¶
Types ¶
type Arguments ¶
type Arguments struct {
Account string `river:"account,attr"`
Role string `river:"role,attr,optional"`
DNSSuffix string `river:"dns_suffix,attr"`
Endpoint string `river:"endpoint,attr"`
Groups []string `river:"groups,attr,optional"`
Port int `river:"port,attr,optional"`
RefreshInterval time.Duration `river:"refresh_interval,attr,optional"`
Version int `river:"version,attr,optional"`
TLSConfig config.TLSConfig `river:"tls_config,block,optional"`
}
func (*Arguments) SetToDefault ¶
func (args *Arguments) SetToDefault()
SetToDefault implements river.Defaulter.
Click to show internal directories.
Click to hide internal directories.