const zookeeperManifestPath …
const mysqlGaleraManifestPath …
const redisManifestPath …
const cockroachDBManifestPath …
const restartCluster …
const readTimeout …
const statefulSetPoll …
const statefulSetTimeout …
const statefulPodTimeout …
const testFinalizer …
var httpProbe …
var _ …
func uncordonNode(ctx context.Context, c clientset.Interface, oldData, newData []byte, nodeName string) { … }
func kubectlExecWithRetries(ns string, args ...string) (out string) { … }
type statefulPodTester …
type clusterAppTester …
func (c *clusterAppTester) run(ctx context.Context) { … }
type zookeeperTester …
func (z *zookeeperTester) name() string { … }
func (z *zookeeperTester) deploy(ctx context.Context, ns string) *appsv1.StatefulSet { … }
func (z *zookeeperTester) write(statefulPodIndex int, kv map[string]string) { … }
func (z *zookeeperTester) read(statefulPodIndex int, key string) string { … }
type mysqlGaleraTester …
func (m *mysqlGaleraTester) name() string { … }
func (m *mysqlGaleraTester) mysqlExec(cmd, ns, podName string) string { … }
func (m *mysqlGaleraTester) deploy(ctx context.Context, ns string) *appsv1.StatefulSet { … }
func (m *mysqlGaleraTester) write(statefulPodIndex int, kv map[string]string) { … }
func (m *mysqlGaleraTester) read(statefulPodIndex int, key string) string { … }
type redisTester …
func (m *redisTester) name() string { … }
func (m *redisTester) redisExec(cmd, ns, podName string) string { … }
func (m *redisTester) deploy(ctx context.Context, ns string) *appsv1.StatefulSet { … }
func (m *redisTester) write(statefulPodIndex int, kv map[string]string) { … }
func (m *redisTester) read(statefulPodIndex int, key string) string { … }
type cockroachDBTester …
func (c *cockroachDBTester) name() string { … }
func (c *cockroachDBTester) cockroachDBExec(cmd, ns, podName string) string { … }
func (c *cockroachDBTester) deploy(ctx context.Context, ns string) *appsv1.StatefulSet { … }
func (c *cockroachDBTester) write(statefulPodIndex int, kv map[string]string) { … }
func (c *cockroachDBTester) read(statefulPodIndex int, key string) string { … }
func lastLine(out string) string { … }
func pollReadWithTimeout(ctx context.Context, statefulPod statefulPodTester, statefulPodNumber int, key, expectedVal string) error { … }
func rollbackTest(ctx context.Context, c clientset.Interface, ns string, ss *appsv1.StatefulSet) { … }
func deletingPodForRollingUpdatePartitionTest(ctx context.Context, f *framework.Framework, c clientset.Interface, ns string, ss *appsv1.StatefulSet) { … }
func confirmStatefulPodCount(ctx context.Context, c clientset.Interface, count int, ss *appsv1.StatefulSet, timeout time.Duration, hard bool) { … }
func setHTTPProbe(ss *appsv1.StatefulSet) { … }
func breakHTTPProbe(ctx context.Context, c clientset.Interface, ss *appsv1.StatefulSet) error { … }
func breakPodHTTPProbe(ss *appsv1.StatefulSet, pod *v1.Pod) error { … }
func restoreHTTPProbe(ctx context.Context, c clientset.Interface, ss *appsv1.StatefulSet) error { … }
func restorePodHTTPProbe(ss *appsv1.StatefulSet, pod *v1.Pod) error { … }
func deleteStatefulPodAtIndex(ctx context.Context, c clientset.Interface, index int, ss *appsv1.StatefulSet) { … }
func getStatefulSetPodNameAtIndex(index int, ss *appsv1.StatefulSet) string { … }
type updateStatefulSetFunc …
func updateStatefulSetWithRetries(ctx context.Context, c clientset.Interface, namespace, name string, applyUpdate updateStatefulSetFunc) (statefulSet *appsv1.StatefulSet, err error) { … }
func updatePVCWithRetries(ctx context.Context, c clientset.Interface, namespace, name string, applyUpdate func(*v1.PersistentVolumeClaim)) (pvc *v1.PersistentVolumeClaim, err error) { … }
func getStatefulSet(ctx context.Context, c clientset.Interface, namespace, name string) *appsv1.StatefulSet { … }
func verifyStatefulSetPVCsExist(ctx context.Context, c clientset.Interface, ss *appsv1.StatefulSet, claimIds []int) error { … }
func verifyStatefulSetPVCsExistWithOwnerRefs(ctx context.Context, c clientset.Interface, ss *appsv1.StatefulSet, claimIndicies []int, wantSetRef, wantPodRef bool) error { … }
func expectPodNames(actualPods *v1.PodList, expectedPodNames []string) error { … }