Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultArguments = Arguments{ Port: 80, RefreshInterval: 60 * time.Second, Availability: "public", }
Functions ¶
Types ¶
type Arguments ¶
type Arguments struct { IdentityEndpoint string `river:"identity_endpoint,attr,optional"` Username string `river:"username,attr,optional"` UserID string `river:"userid,attr,optional"` Password rivertypes.Secret `river:"password,attr,optional"` ProjectName string `river:"project_name,attr,optional"` ProjectID string `river:"project_id,attr,optional"` DomainName string `river:"domain_name,attr,optional"` DomainID string `river:"domain_id,attr,optional"` ApplicationCredentialName string `river:"application_credential_name,attr,optional"` ApplicationCredentialID string `river:"application_credential_id,attr,optional"` ApplicationCredentialSecret rivertypes.Secret `river:"application_credential_secret,attr,optional"` Role string `river:"role,attr"` Region string `river:"region,attr"` RefreshInterval time.Duration `river:"refresh_interval,attr,optional"` Port int `river:"port,attr,optional"` AllTenants bool `river:"all_tenants,attr,optional"` TLSConfig config.TLSConfig `river:"tls_config,attr,optional"` Availability string `river:"availability,attr,optional"` }
func (*Arguments) Convert ¶
func (args *Arguments) Convert() *prom_discovery.SDConfig
func (*Arguments) SetToDefault ¶
func (args *Arguments) SetToDefault()
SetToDefault implements river.Defaulter.
Click to show internal directories.
Click to hide internal directories.