Aptomi / k8s-app-engine

Application delivery engine for k8s
Apache License 2.0
163 stars 19 forks source link

Switch service components from array to map #164

Closed romangithub1024 closed 6 years ago

romangithub1024 commented 6 years ago

won't fix. pretty hard to do.

if we are using component name as key in the map, then it's outside of ServiceComponent and Name gets removed from ServiceComponent.

then ServiceComponent itself doesn't have a name and it's not a self-contained object. hard to work with it in the code base