networkchaos

package
v0.0.0-...-38e49da Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2024 License: Apache-2.0 Imports: 23 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func TestcaseForbidHostNetwork

func TestcaseForbidHostNetwork(
	ns string,
	kubeCli kubernetes.Interface,
	cli client.Client,
)

TestcaseForbidHostNetwork We do NOT allow that inject chaos on a pod which uses hostNetwork

func TestcaseNetworkDelay

func TestcaseNetworkDelay(
	ns string,
	cli client.Client,
	networkPeers []*corev1.Pod,
	ports []uint16,
	c http.Client,
)

func TestcaseNetworkPartition

func TestcaseNetworkPartition(
	ns string,
	cli client.Client,
	networkPeers []*corev1.Pod,
	ports []uint16,
	c http.Client,
)

func TestcasePeersCrossover

func TestcasePeersCrossover(
	ns string,
	cli client.Client,
	networkPeers []*corev1.Pod,
	ports []uint16,
	c http.Client,
)

This test case is for https://github.com/chaos-mesh/chaos-mesh/issues/1450 For example, if the source is A, B, and the target is C, D, and the direction is both, now the connection between A and B will also be affected by this chaos, this is unexpected.

Types

This section is empty.

Jump to

Keyboard shortcuts

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