RuntimeTest

package
v1.5.2-rc1 Latest Latest
Warning

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

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

	// MonitorDebug represents the Debug configuration  value for
	// the Cilium monitor
	MonitorDebug = "Debug"
)

Variables

This section is empty.

Functions

func ExpectCiliumReady

func ExpectCiliumReady(vm *helpers.SSHMeta)

ExpectCiliumReady asserts that cilium status is ready

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