Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultArguments = Arguments{
Entitlement: "monitoring_entitled",
Separator: ",",
RefreshInterval: 1 * time.Minute,
EnableHTTP2: config.DefaultHTTPClientConfig.EnableHTTP2,
FollowRedirects: config.DefaultHTTPClientConfig.FollowRedirects,
}
Functions ¶
Types ¶
type Arguments ¶
type Arguments struct {
Server string `river:"server,attr"`
Username string `river:"username,attr"`
Password rivertypes.Secret `river:"password,attr"`
Entitlement string `river:"entitlement,attr,optional"`
Separator string `river:"separator,attr,optional"`
RefreshInterval time.Duration `river:"refresh_interval,attr,optional"`
ProxyConfig *config.ProxyConfig `river:",squash"`
TLSConfig config.TLSConfig `river:"tls_config,block,optional"`
FollowRedirects bool `river:"follow_redirects,attr,optional"`
EnableHTTP2 bool `river:"enable_http2,attr,optional"`
}
func (*Arguments) SetToDefault ¶
func (a *Arguments) SetToDefault()
SetToDefault implements river.Defaulter.
Click to show internal directories.
Click to hide internal directories.