Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
Port int `yaml:"port"`
RedisAddr string `yaml:"redisAddr"`
RedisPassword string `yaml:"redisPassword"`
IdentityServiceURL string `yaml:"identityServiceUrl"`
IdentityServiceApiKey string `yaml:"identityServiceApiKey"`
IdentityJwksURL string `yaml:"identityJwksUrl"`
IdentityIssuer string `yaml:"identityIssuer"`
IdentityAudience string `yaml:"identityAudience"`
Timezone string `yaml:"timezone"`
LogLevel string `yaml:"logLevel"`
LogFormat string `yaml:"logFormat"`
Env string `yaml:"env"`
DefaultLeaseSeconds int `yaml:"defaultLeaseSeconds"`
RequeueInspectLimit int `yaml:"requeueInspectLimit"`
LocalArtifactsDir string `yaml:"localArtifactsDir"`
MaxAttemptsDefault int `yaml:"maxAttemptsDefault"`
BackoffPolicy string `yaml:"backoffPolicy"`
BackoffBaseSeconds int `yaml:"backoffBaseSeconds"`
BackoffMaxSeconds int `yaml:"backoffMaxSeconds"`
WorkerJwksURL string `yaml:"workerJwksUrl"`
WorkerAudience string `yaml:"workerAudience"`
WorkerIssuer string `yaml:"workerIssuer"`
AllowedClockSkewSeconds int `yaml:"allowedClockSkewSeconds"`
AllowProducerAsWorker bool `yaml:"allowProducerAsWorker"`
WebhookHmacSecret string `yaml:"webhookHmacSecret"`
SubscriptionMinIntervalSeconds int `yaml:"subscriptionMinIntervalSeconds"`
SubscriptionCleanupIntervalSeconds int `yaml:"subscriptionCleanupIntervalSeconds"`
ResultWebhookMaxAttempts int `yaml:"resultWebhookMaxAttempts"`
ResultWebhookBaseBackoffSeconds int `yaml:"resultWebhookBaseBackoffSeconds"`
ResultWebhookMaxBackoffSeconds int `yaml:"resultWebhookMaxBackoffSeconds"`
}
func LoadConfig ¶
Click to show internal directories.
Click to hide internal directories.