test_helper

package
v0.0.0-...-8b2a0fb Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2024 License: Apache-2.0 Imports: 7 Imported by: 43

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateTarArchive

func CreateTarArchive(filename string, files []ArchiveFile)

func CreateTarGZArchive

func CreateTarGZArchive(filename string, files []ArchiveFile)

func CreateZipArchive

func CreateZipArchive(filename string, files []ArchiveFile)

func WriteTar

func WriteTar(destination io.Writer, files []ArchiveFile)

Types

type ArchiveFile

type ArchiveFile struct {
	Name   string
	Body   string
	Mode   int64
	Dir    bool
	Link   string
	Xattrs map[string]string
}

Jump to

Keyboard shortcuts

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