repoSearch was still requiring variables baseUrl, username, password which are now passed as HarborInstance object due to support of multiple harbor instances.
This PR:
fixes repoSearch method
exports logic responsible for getting currentHarborInstance from src/service/artifact.ts to external method getCurrentHarborInstance located in src/service/config.ts to avoid code duplicates
repoSearch was still requiring variables
baseUrl
,username
,password
which are now passed asHarborInstance
object due to support of multiple harbor instances. This PR:currentHarborInstance
from src/service/artifact.ts to external methodgetCurrentHarborInstance
located in src/service/config.ts to avoid code duplicatesgetCurrentHarborInstance
method