@using EntKube.Web.Data @using EntKube.Web.Services @inject GitRepositoryService GitRepoService @inject VaultService VaultService
| Name | URL | Auth | Branch | Connection | |
|---|---|---|---|---|---|
| @repo.Name |
@TruncateUrl(repo.Url)
|
@AuthLabel(repo.AuthType) | @repo.DefaultBranch | @if (testingRepoId == repo.Id) { } else if (testResults.TryGetValue(repo.Id, out var result)) { @if (result.Success) { @result.Message } else { Failed } } else { — } |
@if (confirmDeleteRepoId != repo.Id)
{
}
else
{
}
|
Credentials — @repo.Name@if (credError is not null) {@credError
}
@if (credSuccess is not null)
{
@credSuccess
}
@if (repo.AuthType == GitAuthType.HttpsPat)
{
Stored encrypted in the tenant vault.
Username:
@repo.Username — stored encrypted in the tenant vault.Stored encrypted in the tenant vault. The public key for the deploy key must be added to the repository.
This repository uses no authentication (public). No credentials needed. } @if (repo.AuthType != GitAuthType.None) { |
|||||
| Hostname | Key type | Fingerprint | Trusted | |
|---|---|---|---|---|
@host.Hostname |
@host.KeyType |
@host.Fingerprint
|
@host.TrustedAt.ToString("yyyy-MM-dd") | @if (confirmDeleteHostId != host.Id) { } else { } |