Documentation ¶
Index ¶
- Constants
- func NewAuditlogProxy(prefix string, validHosts Supplier, scaledContext *config.ScaledContext) http.Handler
- func NewHarborProxy(prefix string, validHosts Supplier, scaledContext *config.ScaledContext) http.Handler
- func NewProxy(prefix string, validHosts Supplier, scaledContext *config.ScaledContext) http.Handler
- type Role
- type Signer
- type Supplier
- type UserRole
Constants ¶
View Source
const ( ForwardProto = "X-Forwarded-Proto" APIAuth = "X-API-Auth-Header" CattleAuth = "X-API-CattleAuth-Header" AuthHeader = "Authorization" SetCookie = "Set-Cookie" Cookie = "Cookie" APISetCookie = "X-Api-Set-Cookie-Header" APICookie = "X-Api-Cookie-Header" CSP = "Content-Security-Policy" XContentType = "X-Content-Type-Options" )
View Source
const ( HarborAdminHeader = "X-API-Harbor-Admin-Header" HarborAccountHeader = "X-API-Harbor-Account-Header" HarborUserAnnotationAuth = "authz.management.cattle.io.cn/harborauth" )
Variables ¶
This section is empty.
Functions ¶
func NewAuditlogProxy ¶
func NewHarborProxy ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.