parseHarnessUrl()
Home > @backstage/integration
> parseHarnessUrl
Return parsed git url properties.
Signature:
function parseHarnessUrl(config: HarnessIntegrationConfig, url: string): {
baseUrl: string;
accountId: string;
orgName: string;
projectName: string;
refString: string;
repoName: string;
path: string;
refDashStr: string;
branch: string;
};
Parameters
Parameter |
Type |
Description |
---|---|---|
config |
A Harness provider config | |
url |
string |
A URL pointing to a repository |
{ baseUrl: string; accountId: string; orgName: string; projectName: string; refString: string; repoName: string; path: string; refDashStr: string; branch: string; }