tar

package
v1.0.0-alpha.4 Latest Latest
Warning

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

Go to latest
Published: Mar 15, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Package tar is a wrapper around archive/tar, it's used for archiving and unarchiving source from and into folders on the host. Because runtime has many cases where it streams source via RPC, this package encapsulates the shared logic.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Archive

func Archive(dir string) (io.Reader, error)

Archive a local directory into a tar gzip

func Unarchive

func Unarchive(src io.Reader, dir string) error

Unarchive decodes the source in a tar and writes it to a directory

Types

This section is empty.

Jump to

Keyboard shortcuts

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