package testutils

import "github.com/dotcloud/docker/internal/testutils"

Index

Functions

func UncompressedTarDigest

func UncompressedTarDigest(compressedTar io.Reader) (digest.Digest, error)

UncompressedTarDigest returns the canonical digest of the uncompressed tar stream.

Types

type Logger

type Logger interface {
	Logf(format string, args ...any)
}

Logger is used to log non-fatal messages during tests.

Source Files

archive.go logger.go

Directories

PathSynopsis
internal/testutils/netnsutils
internal/testutils/networking
internal/testutils/specialimage
internal/testutils/storeutils
Version
v28.1.1+incompatible (latest)
Published
Apr 18, 2025
Platform
linux/amd64
Imports
4 packages
Last checked
3 hours ago

Tools for package owners.