Documentation ¶
Index ¶
- func Arping(client *pod.Builder, destIPAddr string) (string, error)
- func Curl(client *pod.Builder, sourceIPAddr, destIPAddr, ipFamily string, ...) (string, error)
- func DefineNGNXAndSleep() []string
- func DefineRoute(dstNet, nextHop string) []string
- func DefineRouteAndSleep(dstNet, nextHop string) []string
- func SetRouteOnPod(client *pod.Builder, dstNet, nextHop string) (bytes.Buffer, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Curl ¶
func Curl(client *pod.Builder, sourceIPAddr, destIPAddr, ipFamily string, containerName ...string) (string, error)
Curl exec curl cmd inside given pod.
func DefineRouteAndSleep ¶
DefineRouteAndSleep creates route and appends sleep CMD.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.