ftests

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Mar 9, 2018 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// RktEnvFlag is an environment flag to signal execution inside rkt context
	RktEnvFlag = "RKT_FTESTS"
)

Variables

View Source
var (
	// LocalImages contains a list of local images to pre-pull
	LocalImages = []string{}
	// RemoteImages contains a list of remote images to pre-pull
	RemoteImages = []string{}
)

Functions

func IsInContainer

func IsInContainer() bool

IsInContainer returns whether it is being executed within rkt context

func RunTestInContainer

func RunTestInContainer(t *testing.T, cfg RktConfig)

RunTestInContainer re-runs current tests inside a rkt container

Types

type RktConfig

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

RktConfig contains configuration for the rkt test run

Jump to

Keyboard shortcuts

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