Documentation ¶
Rendered for windows/amd64
Index ¶
- Constants
- func CreateContainer(t *testing.T, ContainerName string, imageName string, namespace string) (func(), error)
- func CurlTest(c hcsshim.Container, host string, ipv6 bool) error
- func GetOutput(p hcsshim.Process) string
- func PingFromHost(containerIp string, ipv6 bool) error
- func PingTest(c hcsshim.Container, ip string, ipv6 bool) error
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" SecondaryCurlResult = "HTTP/1.1 301 Moved Permanently" )
Variables ¶
This section is empty.
Functions ¶
func CreateContainer ¶
func PingFromHost ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.