- 已编辑
我在使用Kubesphere应用商店的过程中,期望在获取所有应用时可以针对应用的描述字段进行过滤,请问Openpitrix是否支持?
源码的注释部分标明可以过滤"description"字段,但请求结构体(DescribeAppsRequest)中并不包含description相关字段
// Get apps, can filter with these fields(app_id, name, repo_id, description, status, home, icon, screenshots, maintainers, sources, readme, owner, chart_name), default return all apps
我注意到 请求结构体(DescribeAppsRequest)内部成员变量"SearchWord"的注释标明支持查询一些字段:// query key, support these fields(app_id, name, repo_id, description, status, home, icon, screenshots, maintainers, sources, readme, owner, chart_name)
但实际使用发现只能模糊过滤应用的name和keywords字段,是我的使用方法不对还是就只支持过滤这两个字段?
我理解获取应用列表(包括过滤)是由Openpitrix AppManagerClient通用RPC调用AppManager Service来实现的,请问是否如此? 我从哪里可以获取到AppManager Service的源码?期望可以了解下具体实现~
使用Kubesphere版本:release-3.0
感谢~