tenant

package
v1.9.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 30, 2023 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause, + 8 more Imports: 8 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL