tarmaker

package
v0.0.0-...-dc5648e Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MakeTar

func MakeTar(tm MakeTarOptions) error

MakeTar makes a tar out of compose.yml file and a set of artifacts

Types

type Err

type Err struct {
	// contains filtered or unexported fields
}

Err is an error type for tarmaker package that wraps parent errors

func NewErr

func NewErr(reason string, args ...interface{}) *Err

NewErr makes Err

func (Err) Error

func (e Err) Error() string

Error implements error interface

func (Err) Parent

func (e Err) Parent() error

Parent returns parent error of Err

func (*Err) SetParent

func (e *Err) SetParent(err error) *Err

SetParent sets parent error for Err

type MakeTarOptions

type MakeTarOptions struct {
	File   string
	Output string
	Prefix string
	Vars   template.Vars
}

MakeTarOptions are needed to create a tar out of compose.yml; see MakeTar()

Jump to

Keyboard shortcuts

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