integration

package
v0.0.0-...-ea9d892 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2019 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BaseImagePathToVolumeID

func BaseImagePathToVolumeID(baseImagePath string) string

func CreateBaseImage

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

func CreateBaseImageTar

func CreateBaseImageTar(sourcePath string) *os.File

func CreateFakeBin

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

func CreateFakeDrax

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

func CreateFakeTardis

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

func FindGID

func FindGID(group string) uint32

func FindUID

func FindUID(user string) uint32

func MakeBinaryAccessibleToEveryone

func MakeBinaryAccessibleToEveryone(binaryPath string) string

func SkipIfNonRoot

func SkipIfNonRoot(uid int)

func SkipIfNotBTRFS

func SkipIfNotBTRFS(driver string)

func SkipIfRoot

func SkipIfRoot(uid int)

func String2URL

func String2URL(s string) *url.URL

func UpdateBaseImageTar

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