package
0.3.4
Repository: https://github.com/memoio/minio.git
Documentation: pkg.go.dev

# Functions

FetchRegisteredTargets - Returns a set of configured TargetList If `returnOnTargetError` is set to true, The function returns when a target initialization fails Else, the function will return a complete TargetList irrespective of errors.
GetNotificationTargets registers and initializes all notification targets, returns error if any.
GetNotifyAMQP - returns a map of registered notification 'amqp' targets.
GetNotifyES - returns a map of registered notification 'elasticsearch' targets.
GetNotifyKafka - returns a map of registered notification 'kafka' targets.
GetNotifyMQTT - returns a map of registered notification 'mqtt' targets.
GetNotifyMySQL - returns a map of registered notification 'mysql' targets.
GetNotifyNATS - returns a map of registered notification 'nats' targets.
GetNotifyNSQ - returns a map of registered notification 'nsq' targets.
GetNotifyPostgres - returns a map of registered notification 'postgres' targets.
GetNotifyRedis - returns a map of registered notification 'redis' targets.
GetNotifyWebhook - returns a map of registered notification 'webhook' targets.
NewConfig - initialize notification config.
RegisterNotificationTargets - returns TargetList which contains enabled targets in serverConfig.
SetNotifyAMQP - helper for config migration from older config.
SetNotifyES - helper for config migration from older config.
SetNotifyKafka - helper for config migration from older config.
SetNotifyMQTT - helper for config migration from older config.
SetNotifyMySQL - helper for config migration from older config.
SetNotifyNATS - helper for config migration from older config.
SetNotifyNSQ - helper for config migration from older config.
SetNotifyPostgres - helper for config migration from older config.
SetNotifyRedis - helper for config migration from older config.
SetNotifyWebhook - helper for config migration from older config.
TestNotificationTargets is similar to GetNotificationTargets() avoids explicit registration.
TestSubSysNotificationTargets - tests notification targets of given subsystem.

# Variables

DefaultAMQPKVS - default KV for AMQP config.
DefaultESKVS - default KV config for Elasticsearch target.
DefaultKakfaKVS - default KV for kafka target.
DefaultMQTTKVS - default MQTT config.
DefaultMySQLKVS - default KV for MySQL.
DefaultNATSKVS - NATS KV for nats config.
DefaultNotificationKVS - default notification list of kvs.
DefaultNSQKVS - NSQ KV for config.
DefaultPostgresKVS - default Postgres KV for server config.
DefaultRedisKVS - default KV for redis config.
DefaultWebhookKVS - default KV for webhook config.
ErrTargetsOffline - Indicates single/multiple target failures.
Help template inputs for all notification targets.
Help template inputs for all notification targets.
Help template inputs for all notification targets.
Help template inputs for all notification targets.
Help template inputs for all notification targets.
Help template inputs for all notification targets.
Help template inputs for all notification targets.
Help template inputs for all notification targets.
Help template inputs for all notification targets.
Help template inputs for all notification targets.

# Structs

Config - notification target configuration structure, holds information about various notification targets.