Documentation ¶
Index ¶
- Constants
- func ConvertRisingwave(rw *v1alpha1.RisingWave) *v1alpha1.RisingWave
- func FakeRW() *v1alpha1.RisingWave
- func IsValidComputeGroup(groupName string, groups []v1alpha1.RisingWaveComputeGroup) bool
- func IsValidRWGroup(groupName string, groups []v1alpha1.RisingWaveComponentGroup) bool
- func NewFakeClient() client.Client
Constants ¶
View Source
const ( Compute = "compute" Meta = "meta" Frontend = "frontend" Compactor = "compactor" Connector = "connector" Global = "global" DefaultGroup = "inner_global" )
Variables ¶
This section is empty.
Functions ¶
func ConvertRisingwave ¶
func ConvertRisingwave(rw *v1alpha1.RisingWave) *v1alpha1.RisingWave
ConvertRisingwave will mv the risingwave Global replicas into each component group.
func FakeRW ¶
func FakeRW() *v1alpha1.RisingWave
func IsValidComputeGroup ¶
func IsValidComputeGroup(groupName string, groups []v1alpha1.RisingWaveComputeGroup) bool
func IsValidRWGroup ¶
func IsValidRWGroup(groupName string, groups []v1alpha1.RisingWaveComponentGroup) bool
func NewFakeClient ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.