Documentation
¶
Index ¶
- func CreatePods(ctx context.Context, c client.Client, vdb *vapi.VerticaDB, ...)
- func CreateSts(ctx context.Context, c client.Client, vdb *vapi.VerticaDB, sc *vapi.Subcluster, ...)
- func CreateSvcs(ctx context.Context, c client.Client, vdb *vapi.VerticaDB)
- func CreateVDB(ctx context.Context, c client.Client, vdb *vapi.VerticaDB)
- func DeletePods(ctx context.Context, c client.Client, vdb *vapi.VerticaDB)
- func DeleteSts(ctx context.Context, c client.Client, vdb *vapi.VerticaDB, sc *vapi.Subcluster, ...)
- func DeleteSvcs(ctx context.Context, c client.Client, vdb *vapi.VerticaDB)
- func DeleteVDB(ctx context.Context, c client.Client, vdb *vapi.VerticaDB)
- func FakeIPForPod(scIndex, podIndex int32) string
- func FakeIPv6ForPod(scIndex, podIndex int32) string
- func ScaleDownSubcluster(ctx context.Context, c client.Client, vdb *vapi.VerticaDB, sc *vapi.Subcluster, ...)
- func SetPodStatus(ctx context.Context, c client.Client, funcOffset int, ...)
- type PodRunningState
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 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 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
)
Click to show internal directories.
Click to hide internal directories.