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.
Click to show internal directories.
Click to hide internal directories.