utils

package
v0.0.44 Latest Latest
Warning

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

Go to latest
Published: Jun 9, 2017 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func TarDirectory

func TarDirectory(dirname, rootdir, tarname string) (string, error)

TarDirectory - rootdir is equivalent to tar -C 'rootdir'

Types

type Agent

type Agent struct {
	ID string
	// contains filtered or unexported fields
}

func StartVagrant

func StartVagrant(provider string) (Agent, error)

func (Agent) Stop

func (a Agent) Stop()

type BlobClient

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

func NewBlobstore

func NewBlobstore(uri string) BlobClient

func (BlobClient) Create

func (b BlobClient) Create(filepath string) (string, error)

func (BlobClient) Get

func (b BlobClient) Get(uuid string, destinationPath string) error

type TarWalker

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

func (*TarWalker) Walk

func (t *TarWalker) Walk(path string, fi os.FileInfo, err error) error

Jump to

Keyboard shortcuts

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