utils

package
v2.1.4+incompatible Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2017 License: Apache-2.0 Imports: 16 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func TarDirectory added in v0.0.24

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

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

Types

type Agent added in v0.0.24

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

func StartVagrant

func StartVagrant(provider string) (Agent, error)

func (Agent) Stop added in v0.0.24

func (a Agent) Stop()

type BlobClient added in v0.0.24

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

func NewBlobstore added in v0.0.24

func NewBlobstore(uri string) BlobClient

func (BlobClient) Create added in v0.0.24

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

func (BlobClient) Get added in v0.0.24

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

type TarWalker added in v0.0.24

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

func (*TarWalker) Walk added in v0.0.24

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