util

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

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

func NewFakeClient() client.Client

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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