feat: support to fuzzy search Harbor mirror
Created by: wengzhisong-hz
What type of PR is this?
/kind feature
What this PR does / why we need it:
to support Harbor mirror search.
Which issue(s) this PR fixes:
Fixes (https://github.com/kubesphere/kubesphere/issues/3259)
Special notes for reviewers:
i have used these apis provided by Harbor:
1. get mirror list: `/api/v2.0/search?q=${queryparams}`
2. get mirror tag: `/api/v2.0/projects/${projectName}/repositories/${repoName}/artifacts`
please see this video:
becase the kubesphere/kubesphere dose not support to fuzzy search Harbor mirror, i used nodejs to Implement this function. and Here, I distinguish whether it is Harbor or not by the tag of self built mirror warehouse.
These are temporary solution.
Does this PR introduced a user-facing change?
support Harbor mirror searching.
Additional documentation, usage docs, etc.: