- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for SetNotifyES (0.08 sec)
-
internal/config/notify/legacy.go
Value: cfg.QueueDir, }, config.KV{ Key: target.AmqpQueueLimit, Value: strconv.Itoa(int(cfg.QueueLimit)), }, } return nil } // SetNotifyES - helper for config migration from older config. func SetNotifyES(s config.Config, esName string, cfg target.ElasticsearchArgs) error { if !cfg.Enable { return nil } if err := cfg.Validate(); err != nil { return err }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Mar 19 04:37:54 UTC 2024 - 13.1K bytes - Viewed (0) -
cmd/config-migrate.go
compress.SetCompressionConfig(newCfg, cfg.Compression) for k, args := range cfg.Notify.AMQP { notify.SetNotifyAMQP(newCfg, k, args) } for k, args := range cfg.Notify.Elasticsearch { notify.SetNotifyES(newCfg, k, args) } for k, args := range cfg.Notify.Kafka { notify.SetNotifyKafka(newCfg, k, args) } for k, args := range cfg.Notify.MQTT { notify.SetNotifyMQTT(newCfg, k, args) }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 5.4K bytes - Viewed (0)