Documentation ¶
Index ¶
Constants ¶
View Source
const CrossTenantNamespace = "library"
Variables ¶
This section is empty.
Functions ¶
func WithTenant ¶
func WithTenant(handler http.Handler, registryPrefix, authPrefix, chartPrefix, chartMeseumPrefix, chartAPIPrefix, domainSuffix, defaultTenant string) http.Handler
WithTenant adds an interceptor to the original http request handle and converts the request for docker distribution to multi-tenant mode.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.