Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // DefaultConfig provides default Config values. DefaultConfig = *util.DefaultConfigFromFlags(&Config{}).(*Config) )
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
GRPCClientConfig grpcclient.Config `yaml:"grpc_client_config,omitempty"`
}
Config controls how scraping service clients are created.
func (*Config) RegisterFlags ¶
RegisterFlags registers flags to the provided flag set.
func (*Config) RegisterFlagsWithPrefix ¶
RegisterFlagsWithPrefix registers flags to the provided flag set with the specified prefix.
func (*Config) UnmarshalYAML ¶
UnmarshalYAML implements yaml.Unmarshaler.
Click to show internal directories.
Click to hide internal directories.