networkchaos

package
v0.0.0-...-e541717 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2021 License: Apache-2.0 Imports: 22 Imported by: 0

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://gitee.com/xk39/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