cacheproxy

package
v12.5.2 Latest Latest
Warning

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

Go to latest
Published: Jan 12, 2026 License: GPL-3.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

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

func StartHandler

func StartHandler(targetHost, outboundIP string, port uint16, cacheProxyHostOverride, cacheSecret string, logger logrus.FieldLogger) (*Handler, error)

func (*Handler) AddRun

func (h *Handler) AddRun(data artifactcache.RunData) (string, error)

Informs the proxy of a workflow run that can make cache requests. The RunData contains the information about the repository. The function returns the 32-bit random key which the run will use to identify itself.

func (*Handler) Close

func (h *Handler) Close() error

func (*Handler) CreateRunData

func (h *Handler) CreateRunData(fullName, runNumber, timestamp, writeIsolationKey string) artifactcache.RunData

func (*Handler) ExternalURL

func (h *Handler) ExternalURL() string

func (*Handler) RemoveRun

func (h *Handler) RemoveRun(runID string) error

Jump to

Keyboard shortcuts

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