Overview
To better support more HPA capabilities without modifying the implementation code for Multi-cloud. so we need to extract the HPA discovery part of the code make it into a plug-in(HPA Discovery Plugin). if we want to add new HPA feature or modify the implementation code for the currently feature, we just need to modify HPA Discovery Plugin code.
Extract the original hpa discovery part code and make it into a plug-in.
we need to add hook in openstack, kubernetes and others plugin. then we develop
plug-ins for various languages.
We plan to develop python language and golang language.
Usage
For python, run below command in openstack plugin
$ python setup.py
Test
Unit Tests with tox