Documentation ¶
Index ¶
Constants ¶
View Source
const AuthPrefix = "/service/"
View Source
const ChartAPIPrefix = "/api/chartrepo/"
View Source
const ChartPrefix = "/chartrepo/"
View Source
const CompatibleChartPrefix = "/chart/"
View Source
const RegistryPrefix = "/v2/"
RegistryPrefix defines the path prefix for accessing the docker registry v2 server. ChartPrefix defines the path prefix for accessing the helm chart server
Variables ¶
This section is empty.
Functions ¶
func IgnoreAuthPathPrefixes ¶
func IgnoreAuthPathPrefixes() []string
IgnoredAuthPathPrefixes returns a list of path prefixes that does not need to go through the built-in authentication and authorization middleware of apiserver.
func RegisterRoute ¶
func RegisterRoute(m *mux.PathRecorderMux, opts *Options) error
RegisterRoute to register the docker distribution server path prefix to apiserver.
Types ¶
type Options ¶
type Options struct { RegistryConfig *registryconfig.RegistryConfiguration ExternalHost string LoopbackClientConfig *restclient.Config }
Directories ¶
Path | Synopsis |
---|---|
* Harbor API * * These APIs provide services for manipulating Harbor project.
|
* Harbor API * * These APIs provide services for manipulating Harbor project. |
* Harbor API * * These APIs provide services for manipulating Harbor project.
|
* Harbor API * * These APIs provide services for manipulating Harbor project. |
Click to show internal directories.
Click to hide internal directories.