archive

package
v0.17.1 Latest Latest
Warning

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

Go to latest
Published: May 2, 2017 License: MIT Imports: 9 Imported by: 0

Documentation

Overview

Package archive implements the pipe interface with the intent of archiving and compressing the binaries, readme, and other artifacts. It also provides an Archive interface which represents an archiving format.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Archive

type Archive interface {
	Close() error
	Add(name, path string) error
}

Archive represents a compression archive files from disk can be written to.

type Pipe

type Pipe struct{}

Pipe for archive

func (Pipe) Description

func (Pipe) Description() string

Description of the pipe

func (Pipe) Run

func (Pipe) Run(ctx *context.Context) error

Run the pipe

Directories

Path Synopsis
Package tar implements the Archive interface providing tar.gz archiving and compression.
Package tar implements the Archive interface providing tar.gz archiving and compression.
Package zip implements the Archive interface providing zip archiving and compression.
Package zip implements the Archive interface providing zip archiving and compression.

Jump to

Keyboard shortcuts

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