Documentation ¶
Index ¶
Constants ¶
View Source
const ( WaitingTime = 5 * time.Minute RetryInterval = 5 )
View Source
const ( TestDeploymentName = "lifecycle-dpa" TestDaemonSetName = "lifecycle-dsa" TestStatefulSetName = "lifecycle-sfa" TestPodName = "lifecycle-pod" TestReplicaSetName = "lifecycle-rsa" TestPVName = "lifecycle-pv" TestPVCName = "lifecycle-pvc" TestVolumeName = "lifecycle-storage" CertsuiteRunTimeClass = "lifecycle-rtc" // Test Case names. CertsuiteCrdScaling = "lifecycle-crd-scaling" CertsuiteShutdownTcName = "lifecycle-container-prestop" CertsuiteDeploymentScalingTcName = "lifecycle-deployment-scaling" CertsuitePodOwnerTypeTcName = "lifecycle-pod-owner-type" CertsuitePodRecreationTcName = "lifecycle-pod-recreation" CertsuitePodHighAvailabilityTcName = "lifecycle-pod-high-availability" CertsuitePodSchedulingTcName = "lifecycle-pod-scheduling" CertsuiteLivenessTcName = "lifecycle-liveness-probe" CertsuiteReadinessTcName = "lifecycle-readiness-probe" CertsuiteStatefulSetScalingTcName = "lifecycle-statefulset-scaling" CertsuiteImagePullPolicyTcName = "lifecycle-image-pull-policy" CertsuitePersistentVolumeReclaimPolicyTcName = "lifecycle-persistent-volume-reclaim-policy" CertsuiteCPUIsolationTcName = "lifecycle-cpu-isolation" CertsuiteStartUpProbeTcName = "lifecycle-startup-probe" CertsuiteAffinityRequiredPodsTcName = "lifecycle-affinity-required-pods" CertsuiteContainerStartUpTcName = "lifecycle-container-poststart" CertsuitePodTolerationBypassTcName = "lifecycle-pod-toleration-bypass" CertsuiteStorageProvisioner = "lifecycle-storage-provisioner" )
Variables ¶
View Source
var ( LifecycleNamespace = "lifecycle-tests" PreStopCommand = []string{"/bin/sh", "-c", "killall -0 tail"} TestPodLabel = fmt.Sprintf("%s: %s", testPodLabelPrefixName, testPodLabelValue) TestTargetLabels = map[string]string{ "app": "test", // contains filtered or unexported fields } AffinityRequiredPodLabels = map[string]string{ "AffinityRequired": "true", } CertsuiteTargetOperatorLabels = fmt.Sprintf("%s: %s", "cnf/test", "cr-scale-operator") CertsuiteTargetOperatorLabelsMap = map[string]string{ "cnf/test": "cr-scale-operator", } CertsuiteTargetCrdFilters = "memcacheds.cache.example.com" CertsuiteTargetOperatorNamespace = "cr-scale-operator-system" CertsuiteCustomResourceName = "memcached-sample" TestLocalStorageClassName = "local-storage" )
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.