The driver's capabilities were currently split up across several functions, across several files. This change consolidates all of the capabilities handling into one function per capability type (controller, node, volume access modes).
General:
[x] Have you removed all sensitive information, including but not limited to access keys and passwords?
[x] Have you checked to ensure there aren't other open or closed Pull Requests for the same bug/feature/question?
Pull Request Guidelines:
[x] Does your submission pass tests?
[ ] Have you added tests?
[x] Are you addressing a single feature in this PR?
[x] Are your commits atomic, addressing one change per commit?
[x] Are you following the conventions of the language?
[x] Have you saved your large formatting changes for a different PR, so we can focus on your work?
[x] Have you explained your rationale for why this feature is needed?
The driver's capabilities were currently split up across several functions, across several files. This change consolidates all of the capabilities handling into one function per capability type (controller, node, volume access modes).
General:
Pull Request Guidelines: