RuntimeTest

package
v1.17.0-rc.2 Latest Latest
Warning

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

Go to latest
Published: Jan 24, 2025 License: Apache-2.0 Imports: 17 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 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