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) UnmarshalYAML ¶
UnmarshalYAML implements yaml.Unmarshaler.
type ScrapingServiceClient ¶
type ScrapingServiceClient interface { agentproto.ScrapingServiceClient io.Closer }
ScrapingServiceClient wraps agentproto.ScrapingServiceClient with a Close method.
Click to show internal directories.
Click to hide internal directories.