Documentation
¶
Overview ¶
TODO: migrate to tests/e2e/data pkg
Index ¶
- Constants
- func NewCluster(namespace, name string) *v1alpha1.Cluster
- func NewNamespace() *v1.Namespace
- func NewPDGroup(namespace, name, clusterName string, replicas *int32, ...) *v1alpha1.PDGroup
- func NewTiCDCGroup(namespace, name, clusterName string, replicas *int32, ...) *v1alpha1.TiCDCGroup
- func NewTiDBGroup(namespace, name, clusterName string, replicas *int32, ...) *v1alpha1.TiDBGroup
- func NewTiFlashGroup(namespace, name, clusterName string, replicas *int32, ...) *v1alpha1.TiFlashGroup
- func NewTiKVGroup(namespace, name, clusterName string, replicas *int32, ...) *v1alpha1.TiKVGroup
- func StorageSizeGi2quantity(sizeGi uint32) resource.Quantity
Constants ¶
View Source
const ( Version = "v8.5.2" GiB = 1024 * 1024 * 1024 )
Variables ¶
This section is empty.
Functions ¶
func NewCluster ¶
func NewNamespace ¶
NewNamespace returns a random namespace object for testing.
func NewPDGroup ¶
func NewTiCDCGroup ¶
func NewTiCDCGroup(namespace, name, clusterName string, replicas *int32, apply func(group *v1alpha1.TiCDCGroup), ) *v1alpha1.TiCDCGroup
func NewTiDBGroup ¶
func NewTiFlashGroup ¶
func NewTiFlashGroup(namespace, name, clusterName string, replicas *int32, apply func(group *v1alpha1.TiFlashGroup), ) *v1alpha1.TiFlashGroup
func NewTiKVGroup ¶
func StorageSizeGi2quantity ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.