Documentation ¶
Index ¶
- Constants
- func ExpectCiliumNotRunning(vm *helpers.SSHMeta)
- func ExpectCiliumReady(vm *helpers.SSHMeta)
- func ExpectDockerContainersMatchCiliumEndpoints(vm *helpers.SSHMeta)
- func ExpectEndpointSummary(vm *helpers.SSHMeta, policyEnforcementType string, ...)
- func ExpectPolicyEnforcementUpdated(vm *helpers.SSHMeta, policyEnforcementType string)
Constants ¶
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 ¶
ExpectCiliumNotRunning checks that cilium has stopped with a grace period.
func ExpectCiliumReady ¶
ExpectCiliumReady asserts that cilium status is ready
func ExpectDockerContainersMatchCiliumEndpoints ¶
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 ¶
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.