Resolved issue in self.instances() when calling map() on nil object which is returned by api_instance.projects_get() if there are no registries.
In general split much code into small methods in order to allow reuse and remove duplicated code, and improve readability and understanding.
Additionally:
Added filtering of returned projects by api_instance.projects_get() for a for given 'name'. This is required because api_instance.projects_get() returns also projects which contain the given name partly, e.g. 'demo push' will also be returned when asking for 'demo' beside.
Renamed variables and methods in order to distinguish if SwaggerClient's ProjectMemberEntity objects or simple member/member_group names are used.
Resolved issue in self.instances() when calling map() on nil object which is returned by api_instance.projects_get() if there are no registries. In general split much code into small methods in order to allow reuse and remove duplicated code, and improve readability and understanding.
Additionally:
Note that this branch bases on branch of pull request #26.