RuntimeTest

package
v1.13.18 Latest Latest
Warning

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

Go to latest
Published: Jul 11, 2024 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// MonitorDropNotification represents the DropNotification configuration
	// value for the Cilium monitor
	MonitorDropNotification = "DropNotification"

	// MonitorTraceNotification represents the TraceNotification configuration
	// value for the Cilium monitor
	MonitorTraceNotification = "TraceNotification"
)

Variables

This section is empty.

Functions

func ExpectCiliumNotRunning

func ExpectCiliumNotRunning(vm *helpers.SSHMeta)

ExpectCiliumNotRunning checks that cilium has stopped with a grace period.

func ExpectCiliumReady

func ExpectCiliumReady(vm *helpers.SSHMeta)

ExpectCiliumReady asserts that cilium status is ready

func ExpectDockerContainersMatchCiliumEndpoints

func ExpectDockerContainersMatchCiliumEndpoints(vm *helpers.SSHMeta)

ExpectDockerContainersMatchCiliumEndpoints asserts that docker containers in Cilium network match with the endpoint list

func ExpectEndpointSummary

func ExpectEndpointSummary(vm *helpers.SSHMeta, policyEnforcementType string, numWithPolicyEnforcementType int)

ExpectEndpointSummary asserts whether the amount of endpoints managed by Cilium running on vm with PolicyEnforcement equal to policyEnforcementType is equal to numWithPolicyEnforcementType.

func ExpectPolicyEnforcementUpdated

func ExpectPolicyEnforcementUpdated(vm *helpers.SSHMeta, policyEnforcementType string)

ExpectPolicyEnforcementUpdated sets PolicyEnforcement mode on the provided vm running Cilium to policyEnforcementType, and waits for endpoints on vm to be in 'ready' state. It asserts whether the configuration update was successful, and if the endpoints are ready.

Types

This section is empty.

Jump to

Keyboard shortcuts

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