minio/pkg/madmin/examples
Anis Elleuch 3099af70a3 Add admin get/set config keys API (#6113)
This PR adds two new admin APIs in Minio server and madmin package:
- GetConfigKeys(keys []string) ([]byte, error)
- SetConfigKeys(params map[string]string) (err error)

A key is a path in Minio configuration file, (e.g. notify.webhook.1)

The user will always send a string value when setting it in the config file,
the API will know how to convert the value to the appropriate type. The user
is also able to set a raw json.

Before setting a new config, Minio will validate all fields and try to connect
to notification targets if available.
2018-09-06 20:33:18 +05:30
..
get-config-keys.go Add admin get/set config keys API (#6113) 2018-09-06 20:33:18 +05:30
get-config.go Add admin get/set config keys API (#6113) 2018-09-06 20:33:18 +05:30
heal-bucket.go Implement ServerConfig admin REST API (#3741) 2017-02-20 12:58:50 -08:00
heal-buckets-list.go heal: Add ListBucketsHeal object API (#3563) 2017-01-19 09:34:18 -08:00
heal-format.go Add dry-run query param for HealFormat API (#3618) 2017-01-24 08:11:05 -08:00
heal-object.go Add disksUnavailable healStatus const (#3990) 2017-03-31 17:55:15 -07:00
heal-objects-list.go Add disksUnavailable healStatus const (#3990) 2017-03-31 17:55:15 -07:00
lock-clear.go Change query param name to duration in list/clear locks API (#3664) 2017-02-01 11:17:30 -08:00
server-info.go Implement support for calculating disk usage per tenant (#5969) 2018-05-23 15:41:29 +05:30
service-restart.go Implement list, clear locks REST API w/ pkg/madmin support (#3491) 2017-01-03 23:39:22 -08:00
service-status.go Implement list, clear locks REST API w/ pkg/madmin support (#3491) 2017-01-03 23:39:22 -08:00
set-config-keys.go Add admin get/set config keys API (#6113) 2018-09-06 20:33:18 +05:30
set-config.go Implement SetConfig admin API handler. (#3792) 2017-02-27 11:40:27 -08:00
set-credentials.go admin: Move SetCredentials from Service to Generic (#3805) 2017-02-25 11:06:08 -08:00