manifests

package
v0.6.40 Latest Latest
Warning

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

Go to latest
Published: May 16, 2026 License: AGPL-3.0, Apache-2.0, MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetReader

func GetReader(url, token string) (io.ReadCloser, http.Header, error)

func IsDirEmpty

func IsDirEmpty(path string) (bool, error)

func Untar

func Untar(dst string, r io.Reader) (err error)

Types

type HTTPError

type HTTPError struct {
	StatusCode int
	URL        string
	Msg        string
}

func (*HTTPError) Error

func (e *HTTPError) Error() string

type ManifestCache

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

func NewCache

func NewCache(expiry, expiryJitter time.Duration, token, consoleURL string) *ManifestCache

func (*ManifestCache) Expire

func (c *ManifestCache) Expire(id string)

func (*ManifestCache) ExpiryWithJitter

func (c *ManifestCache) ExpiryWithJitter() time.Duration

func (*ManifestCache) Fetch

func (*ManifestCache) Wipe

func (c *ManifestCache) Wipe()

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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