Documentation ¶
Overview ¶
Package e2e is a test package for e2e test.
Index ¶
- func CaseAttach(kwokctlPath, clusterName, nodeName, namespace, tmpDir string) *features.FeatureBuilder
- func CaseDryrun(clusterName string, kwokctlPath string, rootDir string, clusterRuntime string, ...) *features.FeatureBuilder
- func CaseDryrunWithExtra(clusterName string, kwokctlPath string, rootDir string, clusterRuntime string, ...) *features.FeatureBuilder
- func CaseDryrunWithVerbosity(clusterName string, kwokctlPath string, rootDir string, clusterRuntime string, ...) *features.FeatureBuilder
- func CaseEnsurePodScheduledConditions() *features.FeatureBuilder
- func CaseExec(kwokctlPath, clusterName, nodeName, namespace string) *features.FeatureBuilder
- func CaseHack(kwokctlPath, clusterName, nodeName string) *features.FeatureBuilder
- func CaseJsonpatch(nodeName string, namespace string) *features.FeatureBuilder
- func CaseLogs(kwokctlPath, clusterName, nodeName, namespace, tmpDir string) *features.FeatureBuilder
- func CaseMultiCluster(kwokctlPath, logsDir string, replicas int, args ...string) *features.FeatureBuilder
- func CaseNode(nodeName string) *features.FeatureBuilder
- func CasePod(nodeName string, namespace string) *features.FeatureBuilder
- func CasePortForward(kwokctlPath, clusterName, nodeName, namespace string) *features.FeatureBuilder
- func CaseRecording(kwokctlPath, clusterName string, tmpDir string) *features.FeatureBuilder
- func CaseRecordingExternal(kwokctlPath, clusterName string, tmpDir string) *features.FeatureBuilder
- func CaseResourceUsage(kwokctlPath, clusterName string) *features.FeatureBuilder
- func CaseRestart(kwokctlPath, clusterName string) *features.FeatureBuilder
- func CaseSnapshot(kwokctlPath, clusterName string, tmpDir string) *features.FeatureBuilder
- func CaseStage() *features.FeatureBuilder
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 CaseDryrun ¶ added in v0.6.0
func CaseDryrunWithExtra ¶ added in v0.6.0
func CaseDryrunWithVerbosity ¶ added in v0.6.0
func CaseEnsurePodScheduledConditions ¶ added in v0.6.1
func CaseEnsurePodScheduledConditions() *features.FeatureBuilder
CaseEnsurePodScheduledConditions is a very error-prone case where we've mishandled the PodScheduled https://github.com/kubernetes-sigs/kwok/issues/1243
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 CaseJsonpatch ¶ added in v0.6.0
func CaseJsonpatch(nodeName string, namespace string) *features.FeatureBuilder
CaseJsonpatch creates a feature that tests jsonpatch
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.