test

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2022 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreatePods

func CreatePods(ctx context.Context, c client.Client, vdb *vapi.VerticaDB, podRunningState PodRunningState)

func CreateSts

func CreateSts(ctx context.Context, c client.Client, vdb *vapi.VerticaDB, sc *vapi.Subcluster, offset int,
	scIndex int32, podRunningState PodRunningState)

func CreateSvcs

func CreateSvcs(ctx context.Context, c client.Client, vdb *vapi.VerticaDB)

func CreateVDB

func CreateVDB(ctx context.Context, c client.Client, vdb *vapi.VerticaDB)

func DeletePods

func DeletePods(ctx context.Context, c client.Client, vdb *vapi.VerticaDB)

func DeleteSts

func DeleteSts(ctx context.Context, c client.Client, vdb *vapi.VerticaDB, sc *vapi.Subcluster, offset int)

func DeleteSvcs

func DeleteSvcs(ctx context.Context, c client.Client, vdb *vapi.VerticaDB)

func DeleteVDB

func DeleteVDB(ctx context.Context, c client.Client, vdb *vapi.VerticaDB)

func FakeIPForPod

func FakeIPForPod(scIndex, podIndex int32) string

func FakeIPv6ForPod

func FakeIPv6ForPod(scIndex, podIndex int32) string

func ScaleDownSubcluster

func ScaleDownSubcluster(ctx context.Context, c client.Client, vdb *vapi.VerticaDB, sc *vapi.Subcluster, newSize int32)

func SetPodStatus

func SetPodStatus(ctx context.Context, c client.Client, funcOffset int, podName types.NamespacedName,
	scIndex, podIndex int32, podRunningState PodRunningState)

Types

type PodRunningState

type PodRunningState bool
const (
	AllPodsRunning    PodRunningState = true
	AllPodsNotRunning PodRunningState = false
)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳