Documentation ¶
Index ¶
- Variables
- func CallSysCommand(command string) (string, error)
- func CleanBusyBoxTool(name string, ctx *utils.TestContext) error
- func CleanupApplication(name string, ctx *utils.TestContext) error
- func CreateBusyboxTool(name string, labels, nodeSelector map[string]string, ctx *utils.TestContext) (*v1.Pod, error)
- func CreateHostnameApplication(config *ApplicationConfig) error
- func CreateTCPReplyEdgemeshApplication(config *ApplicationConfig) error
- func FetchHostnameAndStatusCodeFromOutput(outStr string) (hostname string, statusCode int)
- func FetchIPFromDigOutput(outStr, domain string) string
- func FetchTCPReplyFromOutput(outStr string) string
- func GenDeploymentNameFromUID(uid string) string
- func GenServiceNameFromUID(uid string) string
- func GetPodByLabels(labels map[string]string, ctx *utils.TestContext) (v1.PodList, error)
- func GetService(name string, ctx *utils.TestContext) (*v1.Service, error)
- func WaitforPodsRunning(kubeConfigPath string, podlist v1.PodList, timout time.Duration) error
- type ApplicationConfig
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ServiceHandler = "/api/v1/namespaces/default/services"
)
Functions ¶
func CallSysCommand ¶
func CleanBusyBoxTool ¶
func CleanBusyBoxTool(name string, ctx *utils.TestContext) error
func CleanupApplication ¶
func CleanupApplication(name string, ctx *utils.TestContext) error
func CreateBusyboxTool ¶
func CreateHostnameApplication ¶
func CreateHostnameApplication(config *ApplicationConfig) error
func CreateTCPReplyEdgemeshApplication ¶
func CreateTCPReplyEdgemeshApplication(config *ApplicationConfig) error
func FetchIPFromDigOutput ¶
func FetchTCPReplyFromOutput ¶
func GenServiceNameFromUID ¶
func GetPodByLabels ¶
func GetService ¶
func WaitforPodsRunning ¶ added in v1.9.0
WaitforPodsRunning waits util all pods are in running status or timeout code copy and add timeout check from https://github.com/kubeedge/kubeedge/blob/master/tests/e2e/utils/pod.go#L196
Types ¶
type ApplicationConfig ¶
Click to show internal directories.
Click to hide internal directories.