MCPcopy Create free account
hub / github.com/efficientgo/e2e / SDConfig

Struct SDConfig

monitoring/promconfig/discovery/openstack/openstack.go:28–43  ·  view source on GitHub ↗

SDConfig is the configuration for OpenStack based service discovery.

Source from the content-addressed store, hash-verified

26
27// SDConfig is the configuration for OpenStack based service discovery.
28type SDConfig struct {
29 IdentityEndpoint string `yaml:"identity_endpoint"`
30 Username string `yaml:"username"`
31 UserID string `yaml:"userid"`
32 Password config_util.Secret `yaml:"password"`
33 ProjectName string `yaml:"project_name"`
34 ProjectID string `yaml:"project_id"`
35 DomainName string `yaml:"domain_name"`
36 DomainID string `yaml:"domain_id"`
37 Role Role `yaml:"role"`
38 Region string `yaml:"region"`
39 RefreshInterval model.Duration `yaml:"refresh_interval,omitempty"`
40 Port int `yaml:"port"`
41 AllTenants bool `yaml:"all_tenants,omitempty"`
42 TLSConfig config_util.TLSConfig `yaml:"tls_config,omitempty"`
43}
44
45// OpenStackRole is role of the target in OpenStack.
46type Role string

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected