Add support for replacing an existing kv prefix with a new set
This PR adds a new method ReplaceConfig that will remove any keys (for the source's prefix) that are not present in the new config. This is primarily to solve https://github.com/containous/traefik/issues/2093 – by adding this, we can make Traefik use ReplaceConfig instead.
This will have the desired effect of removing any stale keys (that can lead to Traefik picking up config that the user thinks is not present), while maintaining any existing keys.
Coverage decreased (-0.8%) to 82.578% when pulling 7be8d412f429343c0ccc803053e280fea0b11b80 on phroggyy:feat-config-replace into f987d01c3d97d01fffb73a57fa35a659c944396a on containous:master.
@ldez any progress on getting this merged?