influxdb/services
Joe LeGasse 2db0250b22 Add db/rp name validation
This change adds some very basic name validation with the following
plain-english description: names must be non-zero sequence of printable
characters that do not contain slashes ('/' or '\') and are not equal to
either "." or "..".

The intent is that, since we currently just use database and retention
policy names directly as path elements, these rules will hopefully leave
us with names that should be at least close to valid directory names.

Ideally, we would restrict names even further or not use them as path
elements directly, but this should be a step towards the former without
restricting names "too much"
2017-01-12 17:38:10 -05:00
..
admin Use proper uber-go/zap import path 2016-12-15 08:54:14 -06:00
collectd Update godoc for services 2016-12-30 18:03:01 -08:00
continuous_querier Add more config validation 2017-01-10 10:28:49 -08:00
graphite Merge remote-tracking branch 'influx/master' into mr-godoc 2017-01-04 13:27:36 -08:00
httpd Update godoc for services 2016-12-30 18:03:01 -08:00
meta Add db/rp name validation 2017-01-12 17:38:10 -05:00
opentsdb Update godoc for services 2016-12-30 18:03:01 -08:00
precreator Add more config validation 2017-01-10 10:28:49 -08:00
retention Add more config validation 2017-01-10 10:28:49 -08:00
snapshotter Update godoc for services 2016-12-30 18:03:01 -08:00
subscriber Update godoc for services 2016-12-30 18:03:01 -08:00
udp Update godoc for services 2016-12-30 18:03:01 -08:00