Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultArguments = Arguments{
Environment: azure.PublicCloud.Name,
Port: 80,
RefreshInterval: 5 * time.Minute,
FollowRedirects: true,
EnableHTTP2: true,
}
Functions ¶
Types ¶
type Arguments ¶
type Arguments struct {
Environment string `river:"environment,attr,optional"`
Port int `river:"port,attr,optional"`
SubscriptionID string `river:"subscription_id,attr,optional"`
OAuth *OAuth `river:"oauth,block,optional"`
ManagedIdentity *ManagedIdentity `river:"managed_identity,block,optional"`
RefreshInterval time.Duration `river:"refresh_interval,attr,optional"`
ResourceGroup string `river:"resource_group,attr,optional"`
ProxyConfig *config.ProxyConfig `river:",squash"`
FollowRedirects bool `river:"follow_redirects,attr,optional"`
EnableHTTP2 bool `river:"enable_http2,attr,optional"`
TLSConfig config.TLSConfig `river:"tls_config,block,optional"`
}
func (*Arguments) SetToDefault ¶
func (a *Arguments) SetToDefault()
SetToDefault implements river.Defaulter.
type ManagedIdentity ¶
type ManagedIdentity struct {
ClientID string `river:"client_id,attr"`
}
Click to show internal directories.
Click to hide internal directories.