Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewFactory ¶
NewFactory creates a factory for githubactionsannotationsreceiver.
Types ¶
type Config ¶
type Config struct {
confighttp.ServerConfig `mapstructure:",squash"`
Path string `mapstructure:"path"`
WebhookSecret configopaque.String `mapstructure:"webhook_secret"`
GitHubAuth GitHubAuth `mapstructure:"github_auth"`
Retry RetryConfig `mapstructure:"retry"`
BatchSize int `mapstructure:"batch_size"`
CustomServiceName string `mapstructure:"custom_service_name"`
ServiceNamePrefix string `mapstructure:"service_name_prefix"`
ServiceNameSuffix string `mapstructure:"service_name_suffix"`
}
type GitHubAuth ¶
type GitHubAuth struct {
AppID int64 `mapstructure:"app_id"`
InstallationID int64 `mapstructure:"installation_id"`
PrivateKey configopaque.String `mapstructure:"private_key"`
PrivateKeyPath string `mapstructure:"private_key_path"`
Token configopaque.String `mapstructure:"token"`
}
type Repository ¶
type RetryConfig ¶
Click to show internal directories.
Click to hide internal directories.