gateway

package
v0.14.0 Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2020 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewHandler

func NewHandler(
	region string,
	cataloger catalog.Cataloger,
	blockStore block.Adapter,
	authService simulator.GatewayAuthService,
	bareDomain string,
	stats stats.Collector,
	dedupCleaner *dedup.Cleaner,
) http.Handler

func PathOperationHandler

func PathOperationHandler(sc *ServerContext, repoID, refID, path string, handler operations.PathOperationHandler) http.Handler

func RepoOperationHandler

func RepoOperationHandler(sc *ServerContext, repoID string, handler operations.RepoOperationHandler) http.Handler

func SplitFirst

func SplitFirst(pth string, parts int) ([]string, bool)

Types

type ServerContext

type ServerContext struct {
	// contains filtered or unexported fields
}

func (*ServerContext) WithContext

func (c *ServerContext) WithContext(ctx context.Context) *ServerContext

Directories

Path Synopsis
Package cmd This file implements helper functions to validate Streaming AWS Signature Version '4' authorization header.
Package cmd This file implements helper functions to validate Streaming AWS Signature Version '4' authorization header.

Jump to

Keyboard shortcuts

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