export

package
v0.0.0-...-ea1f910 Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2016 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExportDir

func ExportDir(sourceFs afero.Fs, exportFileSystem afero.Fs) error

func ExportFile

func ExportFile(sourceFs afero.Fs, relFilePath string, destFileSystem afero.Fs) error

func SaveFile

func SaveFile(fileSystem afero.Fs, pathInsideFileSystem string, reader io.Reader) error

Types

type Job

type Job interface {
	Id() string
	HostDetails() host_details.HostDetails
	ExportFiles(fileSystem afero.Fs) error
}

type Worker

type Worker interface {
	DoJob(ctx *context.Context, job Job) error
}

func NewWorker

func NewWorker() Worker

Jump to

Keyboard shortcuts

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