be

package
v1.9.5 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2024 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) ClearResources

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

func (*BeController) GetConfig

func (be *BeController) GetConfig(ctx context.Context,
	configMapInfo *srapi.ConfigMapInfo, namespace string) (map[string]interface{}, error)

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