add provider admiralty multi-cluster scheduler

This commit is contained in:
Adrien Trouillaud
2020-02-05 15:04:39 -08:00
parent fb33c2e144
commit 5995a2a18d
5 changed files with 13 additions and 3 deletions

View File

@@ -25,7 +25,7 @@
<ul>
{{ range $providers }}
{{ $url := printf "https://github.com/virtual-kubelet/%s/blob/master/README.md#readme" .tag }}
{{ $url := printf "https://github.com/%s/%s/blob/master/README.md#readme" (.org | default "virtual-kubelet") .tag }}
<li class="has-bottom-spacing">
<a class="is-size-5 is-size-6-mobile has-text-grey-lighter has-text-weight-light" href="{{ $url }}" target="_blank">
{{ .name | markdownify }}

View File

@@ -3,8 +3,9 @@
<tbody>
{{ range $providers }}
{{ $name := .name | markdownify }}
{{ $pkgName := printf "github.com/virtual-kubelet/%s" .tag }}
{{ $pkgUrl := printf "https://github.com/virtual-kubelet/%s/blob/master/README.md#readme" .tag }}
{{ $githubPath := printf "github.com/%s/%s" (.org | default "virtual-kubelet") .tag }}
{{ $pkgName := .vanityImportPath | default $githubPath }}
{{ $pkgUrl := printf "https://%s/blob/master/README.md#readme" $githubPath }}
{{ $godocUrl := printf "https://godoc.org/%s" $pkgName }}
<tr>
<td>