utils

package
v0.0.60 Latest Latest
Warning

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

Go to latest
Published: Jul 26, 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

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