integration

package
v0.30.0 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2017 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BaseImagePathToVolumeID added in v0.4.0

func BaseImagePathToVolumeID(baseImagePath string) string

func CreateBaseImage added in v0.21.0

func CreateBaseImage(rootUID, rootGID, grootUID, grootGID int) string

func CreateBaseImageTar added in v0.7.0

func CreateBaseImageTar(sourcePath string) *os.File

func CreateFakeBin added in v0.7.0

func CreateFakeBin(binaryName string) (string, *os.File, *os.File)

func CreateFakeDrax added in v0.7.0

func CreateFakeDrax() (string, *os.File, *os.File)

func CreateFakeTardis added in v0.16.0

func CreateFakeTardis() (string, *os.File, *os.File)

func FindGID

func FindGID(group string) uint32

func FindUID

func FindUID(user string) uint32

func MakeBinaryAccessibleToEveryone added in v0.15.0

func MakeBinaryAccessibleToEveryone(binaryPath string) string

func SkipIfNonRoot added in v0.15.0

func SkipIfNonRoot(uid int)

func SkipIfNotBTRFS added in v0.11.0

func SkipIfNotBTRFS(driver string)

func SkipIfNotXFS added in v0.11.0

func SkipIfNotXFS(driver string)

func SkipIfRoot added in v0.26.0

func SkipIfRoot(uid int)

func String2URL added in v0.27.0

func String2URL(s string) *url.URL

func UpdateBaseImageTar added in v0.7.0

func UpdateBaseImageTar(tarPath, sourcePath string)

Types

type CustomRoundTripper

type CustomRoundTripper struct {
	RoundTripFn func(req *http.Request) (*http.Response, error)
}

func (*CustomRoundTripper) RoundTrip

func (r *CustomRoundTripper) RoundTrip(req *http.Request) (*http.Response, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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