asjoyner / shade

SHA Drive Engine stores files in the cloud, in a flexible fashion, optionally encrypted.
Apache License 2.0
7 stars 3 forks source link

Expand config validation logic and tests #1

Closed cfunkhouser closed 8 years ago

cfunkhouser commented 8 years ago

This change adds an extra check for provider validity at config parse time, and expands the tests. There are no multi-provider tests in this change.

asjoyner commented 8 years ago

as per table-side discussion, please do away with the validProviders string slice, and implement the awesome register provider and associated magic.

cfunkhouser commented 8 years ago

Okay, I've implemented and tested the drive client provider registration logic we discussed around the table.

This gets us some more complexity in the drive module; namely:

I've also updated the drive provider modules, and shadeutil.