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