Versions in this module Expand all Collapse all v2 v2.13.1 Oct 8, 2023 Changes in this version + var DefaultSDConfig = SDConfig + func NewDiscovery(conf *SDConfig, l log.Logger) (*refresh.Discovery, error) + type HypervisorDiscovery struct + type InstanceDiscovery struct + type Role string + const OpenStackRoleHypervisor + const OpenStackRoleInstance + func (c *Role) UnmarshalYAML(unmarshal func(interface{}) error) error + type SDConfig struct + AllTenants bool + ApplicationCredentialID string + ApplicationCredentialName string + ApplicationCredentialSecret config_util.Secret + DomainID string + DomainName string + IdentityEndpoint string + Password config_util.Secret + Port int + ProjectID string + ProjectName string + RefreshInterval model.Duration + Region string + Role Role + TLSConfig config_util.TLSConfig + UserID string + Username string + func (c *SDConfig) UnmarshalYAML(unmarshal func(interface{}) error) error Other modules containing this package github.com/zpascal/prometheus