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 ¶
func (c *Config) RegisterFlags(f *flag.FlagSet)
RegisterFlags registers flags to the provided flag set.
func (*Config) RegisterFlagsWithPrefix ¶
func (c *Config) RegisterFlagsWithPrefix(prefix string, f *flag.FlagSet)
RegisterFlagsWithPrefix registers flags to the provided flag set with the specified prefix.
func (*Config) UnmarshalYAML ¶
func (c *Config) UnmarshalYAML(unmarshal func(interface{}) error) error
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.