e2e

package
v0.5.2 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2024 License: Apache-2.0 Imports: 28 Imported by: 0

Documentation

Overview

Package e2e is a test package for e2e test.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CaseAttach

func CaseAttach(kwokctlPath, clusterName, nodeName, namespace, tmpDir string) *features.FeatureBuilder

CaseAttach creates a feature that tests attach

func CaseExec

func CaseExec(kwokctlPath, clusterName, nodeName, namespace string) *features.FeatureBuilder

CaseExec creates a feature that tests exec

func CaseHack

func CaseHack(kwokctlPath, clusterName, nodeName string) *features.FeatureBuilder

func CaseLogs

func CaseLogs(kwokctlPath, clusterName, nodeName, namespace, tmpDir string) *features.FeatureBuilder

CaseLogs creates a feature that tests logs

func CaseMultiCluster

func CaseMultiCluster(kwokctlPath, logsDir string, replicas int, args ...string) *features.FeatureBuilder

CaseMultiCluster is a test case for multi-cluster

func CaseNode

func CaseNode(nodeName string) *features.FeatureBuilder

CaseNode creates a feature that tests node creation and deletion

func CasePod

func CasePod(nodeName string, namespace string) *features.FeatureBuilder

CasePod creates a feature that tests pod creation and deletion

func CasePortForward

func CasePortForward(kwokctlPath, clusterName, nodeName, namespace string) *features.FeatureBuilder

CasePortForward creates a feature that tests port forward

func CaseRecording

func CaseRecording(kwokctlPath, clusterName string, tmpDir string) *features.FeatureBuilder

CaseRecording is the recording of a test case.

func CaseRecordingExternal

func CaseRecordingExternal(kwokctlPath, clusterName string, tmpDir string) *features.FeatureBuilder

CaseRecordingExternal is the recording of a test case.

func CaseResourceUsage

func CaseResourceUsage(kwokctlPath, clusterName string) *features.FeatureBuilder

func CaseRestart

func CaseRestart(kwokctlPath, clusterName string) *features.FeatureBuilder

CaseRestart is the restart of a test case.

func CaseSnapshot

func CaseSnapshot(kwokctlPath, clusterName string, tmpDir string) *features.FeatureBuilder

CaseSnapshot is the snapshot of a test case.

func CaseStage

func CaseStage() *features.FeatureBuilder

CaseStage creates a feature that tests node creation and deletion

Types

This section is empty.

Directories

Path Synopsis
Package helper provides tools for e2e test.
Package helper provides tools for e2e test.

Jump to

Keyboard shortcuts

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