be

package
v1.11.2 Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2025 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BeController

type BeController struct {
	Client   client.Client
	Recorder record.EventRecorder
}

func New

func New(k8sClient client.Client, recorderFor subc.GetEventRecorderForFunc) *BeController

func (*BeController) ClearCluster added in v1.11.0

func (be *BeController) ClearCluster(ctx context.Context, src *srapi.StarRocksCluster) error

func (*BeController) GetBeConfig added in v1.9.8

func (be *BeController) GetBeConfig(ctx context.Context,
	beSpec *srapi.StarRocksBeSpec, namespace string) (map[string]interface{}, error)

GetBeConfig get the config of BE from configmap.

func (*BeController) GetControllerName

func (be *BeController) GetControllerName() string

func (*BeController) SyncCluster

func (be *BeController) SyncCluster(ctx context.Context, src *srapi.StarRocksCluster) error

func (*BeController) UpdateClusterStatus

func (be *BeController) UpdateClusterStatus(ctx context.Context, src *srapi.StarRocksCluster) error

UpdateClusterStatus update the all resource status about be.

Jump to

Keyboard shortcuts

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