Go security guard (#5176)

* added security-guard

* go-security-guard
This commit is contained in:
David Hadas 2022-08-16 19:54:47 +03:00 committed by GitHub
parent 580d2239ed
commit c54d393fce
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View File

@ -65,6 +65,7 @@
/sample-controller/* go-get=1 /golang/sample-controller.html 200
/sample-source/* go-get=1 /golang/sample-source.html 200
/security-guard/* go-get=1 /golang/security-guard.html 200
/security-guard/* https://pkg.go.dev/knative.dev/security-guard/:splat
/serving/* go-get=1 /golang/serving.html 200
/serving/* https://pkg.go.dev/knative.dev/serving/:splat
/specs/* go-get=1 /golang/specs.html 200

View File

@ -33,7 +33,7 @@ var (
// Repos known to contain Go libraries, so that requesting
// https://knative.dev/<repo> in a browser should redirect to
// https://pkg.go.dev/knative.dev/<repo>
redirectingGoRepos = []string{"pkg", "serving"}
redirectingGoRepos = []string{"pkg", "serving", "security-guard"}
)
// repoInfo provides a simple holder for GitHub repo information needed to