contTest

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jun 5, 2019 License: MIT Imports: 20 Imported by: 1

Documentation

Rendered for windows/amd64

Index

Constants

View Source
const (
	ExpectedPingResult  = "Packets: Sent = 4, Received = 4, Lost = 0"
	SecondaryPingResult = "Packets: Sent = 4, Received = 3, Lost = 1"
	ExpectedCurlResult  = "HTTP/1.1 200 OK"
)

Variables

This section is empty.

Functions

func CreateContainer

func CreateContainer(t *testing.T, ContainerName string, imageName string, namespace string) (func(), error)

func CurlTest

func CurlTest(c hcsshim.Container, host string) error

func GetOutput

func GetOutput(p hcsshim.Process) string

func PingFromHost

func PingFromHost(containerIp string) error

func PingTest

func PingTest(c hcsshim.Container, ip string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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