wolfios

package
v0.6.11 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const PackageIndex = "https://packages.wolfi.dev/os/x86_64/APKINDEX.tar.gz"

Variables

This section is empty.

Functions

func Untar

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

Untar takes a destination path and a reader; a tar reader loops over the tarfile creating the file structure at 'dst' along the way, and writing any files

Types

type Context

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

func New

func New(client *http.Client, indexURL string) Context

func (Context) GetWolfiPackages

func (c Context) GetWolfiPackages(ctx context.Context) (map[string]bool, error)

Jump to

Keyboard shortcuts

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