Documentation ¶
Index ¶
- Constants
- Variables
- func AssertIPv4UDPWorkloadURLAfterIngressPodDeleted(ctx SpecContext)
- func AssertIPv4UDPWorkloadURLAfterTMMPodDeleted(ctx SpecContext)
- func AssertIPv4WorkloadURL(ctx SpecContext)
- func AssertIPv4WorkloadURLAfterAppRecreated(ctx SpecContext)
- func AssertIPv4WorkloadURLAfterIngressPodDeleted(ctx SpecContext)
- func AssertIPv4WorkloadURLAfterTMMPodDeleted(ctx SpecContext)
- func AssertIPv6UDPWorkloadURLAfterIngressPodDeleted(ctx SpecContext)
- func AssertIPv6UDPWorkloadURLAfterTMMPodDeleted(ctx SpecContext)
- func AssertIPv6WorkloadURL(ctx SpecContext)
- func AssertIPv6WorkloadURLAfterAppRecreated(ctx SpecContext)
- func AssertIPv6WorkloadURLAfterIngressPodDeleted(ctx SpecContext)
- func AssertIPv6WorkloadURLAfterTMMPodDeleted(ctx SpecContext)
- func CleanupStuckContainerPods(ctx SpecContext)
- func ResetTMMReplicas(ctx SpecContext)
- func RestartSPKIngressPods()
- func SetupSPKBackendUDPWorkload()
- func SetupSPKBackendWorkload()
- func VerifyDNSResolutionAfterIngressPodIsDeleteExistinDeploy(ctx SpecContext)
- func VerifyDNSResolutionAfterIngressPodIsDeleteNewDeploy(ctx SpecContext)
- func VerifyDNSResolutionAfterTMMPodIsDeletedExistingDeploy(ctx SpecContext)
- func VerifyDNSResolutionAfterTMMPodIsDeletedNewDeploy(ctx SpecContext)
- func VerifyDNSResolutionAfterTMMScaleUpDownExisting(ctx SpecContext)
- func VerifyDNSResolutionFromExistingDeploy(ctx SpecContext)
- func VerifyDNSResolutionFromNewDeploy(ctx SpecContext)
- func VerifyDNSResolutionWithMultipleTMMsExisting(ctx SpecContext)
- func VerifyGracefulRebootSuite()
- func VerifyHardRebootSuite()
- func VerifyIngressScaleDownUp(ctx SpecContext)
- func VerifySPKIngressUDPviaIPv4()
- func VerifySPKIngressUDPviaIPv6()
- func VerifySoftReboot(ctx SpecContext)
- func VerifyUngracefulReboot(ctx SpecContext)
- func WaitAllDeploymentsAreAvailable(ctx SpecContext)
- func WaitAllNodesAreReady(ctx SpecContext)
Constants ¶
const ( // SPKBackendCMName configMap's name. SPKBackendCMName = "spk-cm" // SPKBackendSVCName service's name. SPKBackendSVCName = "f5-hello-world" // SPKBackendSelector labels used by deployment and service. SPKBackendSelector = "system-test=spk-demo-workload" // SPKBackendSVCPort service port. SPKBackendSVCPort = int32(8080) // SPKBackendSVCTargetPort service's target port. SPKBackendSVCTargetPort = int32(8080) // SPKBackendSVCProtocol service's protocol. SPKBackendSVCProtocol = v1.Protocol("TCP") // SPKBackendDeployName deployment's name. SPKBackendDeployName = "spk-hello-world" // SPKBackendContainerName container's name. SPKBackendContainerName = "spk-httpd" // SPKBackendUDPSVCName name for service for UDP testing. SPKBackendUDPSVCName = "f5-udp-svc" // SPKBackendUDPSelector labels used by deployment and service. SPKBackendUDPSelector = "systemtest-udp-app=qe-udp-server" // SPKBackendUDPSVCPort service port. SPKBackendUDPSVCPort = int32(8080) // SPKBackendUDPSVCTargetPort service's target port. SPKBackendUDPSVCTargetPort = int32(8080) // SPKBackendUDPSVCProtocol service's protocol. SPKBackendUDPSVCProtocol = v1.Protocol("UDP") // SPKBackendUDPDeployName deployment's name. SPKBackendUDPDeployName = "udp-mock-server" // SPKBackendUDPContainerName container's name. SPKBackendUDPContainerName = "udp-server" )
Variables ¶
var ( // SPKWorkloadCMData contains data for ConfigMap. SPKWorkloadCMData = map[string]string{ "index.html": "SPK-DEFAULT-WEB-PAGE-GOLANG", } )
Functions ¶
func AssertIPv4UDPWorkloadURLAfterIngressPodDeleted ¶
func AssertIPv4UDPWorkloadURLAfterIngressPodDeleted(ctx SpecContext)
AssertIPv4UDPWorkloadURLAfterIngressPodDeleted assert workoads are reachable over IPv4 SPK Ingress, after SPK Ingress pods are deleted.
func AssertIPv4UDPWorkloadURLAfterTMMPodDeleted ¶
func AssertIPv4UDPWorkloadURLAfterTMMPodDeleted(ctx SpecContext)
AssertIPv4UDPWorkloadURLAfterTMMPodDeleted assert workoads are reachable over IPv4 SPK Ingress, after SPK TMM pods are deleted.
func AssertIPv4WorkloadURL ¶
func AssertIPv4WorkloadURL(ctx SpecContext)
AssertIPv4WorkloadURL access workload via IPv4 address.
func AssertIPv4WorkloadURLAfterAppRecreated ¶
func AssertIPv4WorkloadURLAfterAppRecreated(ctx SpecContext)
AssertIPv4WorkloadURLAfterAppRecreated access workload via IPv4 address, after target workload was re-created.
func AssertIPv4WorkloadURLAfterIngressPodDeleted ¶
func AssertIPv4WorkloadURLAfterIngressPodDeleted(ctx SpecContext)
AssertIPv4WorkloadURLAfterIngressPodDeleted assert workoads are reachable over IPv4 SPK Ingress, after SPK Ingress pods are deleted.
func AssertIPv4WorkloadURLAfterTMMPodDeleted ¶
func AssertIPv4WorkloadURLAfterTMMPodDeleted(ctx SpecContext)
AssertIPv4WorkloadURLAfterTMMPodDeleted assert connectivity to workload running on OCP cluster, after TMM pods are deleted.
func AssertIPv6UDPWorkloadURLAfterIngressPodDeleted ¶
func AssertIPv6UDPWorkloadURLAfterIngressPodDeleted(ctx SpecContext)
AssertIPv6UDPWorkloadURLAfterIngressPodDeleted assert workoads are reachable over IPv6 SPK Ingress, after SPK Ingress pods are deleted.
func AssertIPv6UDPWorkloadURLAfterTMMPodDeleted ¶
func AssertIPv6UDPWorkloadURLAfterTMMPodDeleted(ctx SpecContext)
AssertIPv6UDPWorkloadURLAfterTMMPodDeleted assert workoads are reachable over IPv6 SPK Ingress, after SPK TMM pods are deleted.
func AssertIPv6WorkloadURL ¶
func AssertIPv6WorkloadURL(ctx SpecContext)
AssertIPv6WorkloadURL access workload via IPv6 address.
func AssertIPv6WorkloadURLAfterAppRecreated ¶
func AssertIPv6WorkloadURLAfterAppRecreated(ctx SpecContext)
AssertIPv6WorkloadURLAfterAppRecreated access workload via IPv6 address, after target workload was re-created.
func AssertIPv6WorkloadURLAfterIngressPodDeleted ¶
func AssertIPv6WorkloadURLAfterIngressPodDeleted(ctx SpecContext)
AssertIPv6WorkloadURLAfterIngressPodDeleted assert workoads are reachable over IPv6 SPK Ingress, after SPK Ingress pods are deleted.
func AssertIPv6WorkloadURLAfterTMMPodDeleted ¶
func AssertIPv6WorkloadURLAfterTMMPodDeleted(ctx SpecContext)
AssertIPv6WorkloadURLAfterTMMPodDeleted assert workoads are reachable over IPv6 SPK Ingress, after SPK TMM pods are deleted.
func CleanupStuckContainerPods ¶
func CleanupStuckContainerPods(ctx SpecContext)
CleanupStuckContainerPods removes stuck pods.
func ResetTMMReplicas ¶
func ResetTMMReplicas(ctx SpecContext)
ResetTMMReplicas sets TMM replica count to 1.
func RestartSPKIngressPods ¶
func RestartSPKIngressPods()
RestartSPKIngressPods delete SPK Ingress pods.
func SetupSPKBackendUDPWorkload ¶
func SetupSPKBackendUDPWorkload()
SetupSPKBackendUDPWorkload creates workload that is used in SPK Ingress testing.
func SetupSPKBackendWorkload ¶
func SetupSPKBackendWorkload()
SetupSPKBackendWorkload creates workload that is used in SPK Ingress testing.
func VerifyDNSResolutionAfterIngressPodIsDeleteExistinDeploy ¶
func VerifyDNSResolutionAfterIngressPodIsDeleteExistinDeploy(ctx SpecContext)
VerifyDNSResolutionAfterIngressPodIsDeleteExistinDeploy assert DNS resolution from existing deployment, after SPK Ingress pods are deleted.
func VerifyDNSResolutionAfterIngressPodIsDeleteNewDeploy ¶
func VerifyDNSResolutionAfterIngressPodIsDeleteNewDeploy(ctx SpecContext)
VerifyDNSResolutionAfterIngressPodIsDeleteNewDeploy assert DNS resolution from new deployment, after SPK Ingress pods are delete.
func VerifyDNSResolutionAfterTMMPodIsDeletedExistingDeploy ¶
func VerifyDNSResolutionAfterTMMPodIsDeletedExistingDeploy(ctx SpecContext)
VerifyDNSResolutionAfterTMMPodIsDeletedExistingDeploy assert DNS resolution from existing deployment, after SPK TMM pod(s) are deleted.
func VerifyDNSResolutionAfterTMMPodIsDeletedNewDeploy ¶
func VerifyDNSResolutionAfterTMMPodIsDeletedNewDeploy(ctx SpecContext)
VerifyDNSResolutionAfterTMMPodIsDeletedNewDeploy assert DNS resolution from new deployment, after SPK TMM pod(s) are deleted.
func VerifyDNSResolutionAfterTMMScaleUpDownExisting ¶
func VerifyDNSResolutionAfterTMMScaleUpDownExisting(ctx SpecContext)
VerifyDNSResolutionAfterTMMScaleUpDownExisting verifies DNS resolution from existing deployment after TMM deployment is scaled down and then up.
func VerifyDNSResolutionFromExistingDeploy ¶
func VerifyDNSResolutionFromExistingDeploy(ctx SpecContext)
VerifyDNSResolutionFromExistingDeploy verifies DNS resolution from existing deployment.
func VerifyDNSResolutionFromNewDeploy ¶
func VerifyDNSResolutionFromNewDeploy(ctx SpecContext)
VerifyDNSResolutionFromNewDeploy asserts DNS resolution from within a newly created deployment.
func VerifyDNSResolutionWithMultipleTMMsExisting ¶
func VerifyDNSResolutionWithMultipleTMMsExisting(ctx SpecContext)
VerifyDNSResolutionWithMultipleTMMsExisting verifies DNS resolution with multiple instances of TMM controller.
func VerifyGracefulRebootSuite ¶
func VerifyGracefulRebootSuite()
VerifyGracefulRebootSuite container that contains tests for graceful reboot verification.
func VerifyHardRebootSuite ¶
func VerifyHardRebootSuite()
VerifyHardRebootSuite container that contains tests for ungraceful cluster reboot verification.
func VerifyIngressScaleDownUp ¶
func VerifyIngressScaleDownUp(ctx SpecContext)
VerifyIngressScaleDownUp verifies DNS resolution from existing deployment after Ingress scale down and up.
func VerifySPKIngressUDPviaIPv4 ¶
func VerifySPKIngressUDPviaIPv4()
VerifySPKIngressUDPviaIPv4 verifies SPK UDP Ingress.
func VerifySPKIngressUDPviaIPv6 ¶
func VerifySPKIngressUDPviaIPv6()
VerifySPKIngressUDPviaIPv6 verifies SPK UDP Ingress.
func VerifySoftReboot ¶
func VerifySoftReboot(ctx SpecContext)
VerifySoftReboot performs graceful reboot of a cluster with cordoning and draining of individual nodes.
func VerifyUngracefulReboot ¶
func VerifyUngracefulReboot(ctx SpecContext)
VerifyUngracefulReboot performs ungraceful reboot of the cluster.
func WaitAllDeploymentsAreAvailable ¶
func WaitAllDeploymentsAreAvailable(ctx SpecContext)
WaitAllDeploymentsAreAvailable wait for all deployments in all namespaces to be Available.
func WaitAllNodesAreReady ¶
func WaitAllNodesAreReady(ctx SpecContext)
WaitAllNodesAreReady waits for all the nodes in the cluster to report Ready state.
Types ¶
This section is empty.