Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
AuditEventsTopic string `envconfig:"AUDIT_EVENTS_TOPIC"`
AuthAPIURL string `envconfig:"ZEBEDEE_URL"`
BindAddr string `envconfig:"BIND_ADDR" json:"-"`
Brokers []string `envconfig:"KAFKA_ADDR" json:"-"`
DatasetAPIURL string `envconfig:"DATASET_API_URL"`
ElasticSearchAPIURL string `envconfig:"ELASTIC_SEARCH_URL" json:"-"`
GracefulShutdownTimeout time.Duration `envconfig:"GRACEFUL_SHUTDOWN_TIMEOUT"`
HasPrivateEndpoints bool `envconfig:"ENABLE_PRIVATE_ENDPOINTS"`
HealthCheckInterval time.Duration `envconfig:"HEALTHCHECK_INTERVAL"`
HealthCheckCriticalTimeout time.Duration `envconfig:"HEALTHCHECK_CRITICAL_TIMEOUT"`
HierarchyBuiltTopic string `envconfig:"HIERARCHY_BUILT_TOPIC"`
KafkaMaxBytes int `envconfig:"KAFKA_MAX_BYTES"`
MaxRetries int `envconfig:"REQUEST_MAX_RETRIES"`
MaxSearchResultsOffset int `envconfig:"MAX_SEARCH_RESULTS_OFFSET"`
SearchAPIURL string `envconfig:"SEARCH_API_URL"`
ServiceAuthToken string `envconfig:"SERVICE_AUTH_TOKEN" json:"-"`
SignElasticsearchRequests bool `envconfig:"SIGN_ELASTICSEARCH_REQUESTS"`
}
Config is the filing resource handler config
Click to show internal directories.
Click to hide internal directories.