p2test

package
v0.26.0 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2026 License: AGPL-3.0 Imports: 4 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package p2test builds p2 repository documents for tests.

Index

Constants

View Source
const Artifacts = `` /* 988-byte string literal not displayed */

Artifacts is an artifacts.xml in the shape p2 writes it: repository properties with a mirror list and a statistics endpoint, one bundle with a checksum, and the usual download rule.

View Source
const Composite = `` /* 657-byte string literal not displayed */

Composite is a compositeArtifacts.xml with a relative child, a child that leaves the repository, an absolute child on the host of the test upstream and one on another host.

Variables

This section is empty.

Functions

func Jar

func Jar(tb testing.TB, name, body string) []byte

Jar packs name and body into a jar the way p2 does: one deflated entry.

func XZ

func XZ(tb testing.TB, body string) []byte

XZ compresses body into one xz stream.

Types

This section is empty.

Jump to

Keyboard shortcuts

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