chartmuseum

package
v1.9.0 Latest Latest
Warning

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

Go to latest
Published: Mar 30, 2022 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause, + 8 more Imports: 12 Imported by: 2

Documentation

Index

Constants

View Source
const (
	// PathPrefix defines the path prefix for accessing the chartmuseum server.
	PathPrefix = "/chart/"
	// MaxUploadSize defines max size of post body (in bytes).
	MaxUploadSize = 20 * 1024 * 1024 * 1024
)

Variables

This section is empty.

Functions

func IgnoredAuthPathPrefixes

func IgnoredAuthPathPrefixes() []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 chartmuseum server path prefix to apiserver.

Types

type Options

type Options struct {
	RegistryConfig       *registryconfig.RegistryConfiguration
	LoopbackClientConfig *restclient.Config
	OIDCIssuerURL        string
	OIDCTokenReviewPath  string
	OIDCCAFile           string
	ExternalScheme       string
	Authorizer           authorizer.Authorizer
}

Directories

Path Synopsis
v1

Jump to

Keyboard shortcuts

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