httpproxy

package
v2.4.3 Latest Latest
Warning

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

Go to latest
Published: Aug 30, 2023 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Overview

Package httpproxy is a cache implementation that can proxy artifacts from/to another HTTP-based remote cache.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(baseURL *url.URL, storageMode string, remote *http.Client,
	accessLogger cache.Logger, errorLogger cache.Logger,
	numUploaders, maxQueuedUploads int) (cache.Proxy, error)

New creates a cache that proxies requests to a HTTP remote cache. `storageMode` must be one of "uncompressed" (which expects legacy CAS blobs) or "zstd" (which expects cas.v2 blobs).

Types

This section is empty.

Jump to

Keyboard shortcuts

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