action

package
v2.0.0 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2025 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MustRollingRestart

func MustRollingRestart[
	S scope.Group[F, T],
	F client.Object,
	T runtime.Group,
](
	ctx context.Context,
	f *framework.Framework,
	obj F,
)

func MustScale

func MustScale[
	S scope.Group[F, T],
	F client.Object,
	T runtime.Group,
](
	ctx context.Context,
	f *framework.Framework,
	obj F,
	replicas int32,
)

func MustScaleAndRollingRestart

func MustScaleAndRollingRestart[
	S scope.Group[F, T],
	F client.Object,
	T runtime.Group,
](
	ctx context.Context,
	f *framework.Framework,
	obj F,
	replicas int32,
)

func MustUpdate

func MustUpdate[
	S scope.Group[F, T],
	F client.Object,
	T runtime.Group,
](
	ctx context.Context,
	f *framework.Framework,
	obj F,
	patches ...data.GroupPatch[F],
)

func TestPDAvailability

func TestPDAvailability(ctx context.Context, f *framework.Framework, pdg *v1alpha1.PDGroup, w *framework.Workload)

func TestTSOAvailability

func TestTSOAvailability(ctx context.Context, f *framework.Framework, tg *v1alpha1.TSOGroup, w *framework.Workload)

func TestTiDBAvailability

func TestTiDBAvailability(ctx context.Context, f *framework.Framework, ep string, dbg *v1alpha1.TiDBGroup, w *framework.Workload, opts ...workload.Option)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL