fe

package
v1.8.8 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2023 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckFEOk added in v1.8.0

func CheckFEOk(ctx context.Context, k8sClient client.Client, src *srapi.StarRocksCluster) bool

CheckFEOk check the fe cluster is ok for add cn node.

func GetFeConfig added in v1.8.0

func GetFeConfig(ctx context.Context,
	k8sClient client.Client, configMapInfo *srapi.ConfigMapInfo, namespace string) (map[string]interface{}, error)

GetFeConfig get the fe start config.

Types

type FeController

type FeController struct {
	// contains filtered or unexported fields
}

func New

func New(k8sClient client.Client) *FeController

New construct a FeController.

func (*FeController) ClearResources

func (fc *FeController) ClearResources(ctx context.Context, src *srapi.StarRocksCluster) error

ClearResources clear resource about fe.

func (*FeController) GetControllerName

func (fc *FeController) GetControllerName() string

func (*FeController) Sync

Sync starRocksCluster spec to fe statefulset and service.

func (*FeController) UpdateStatus

func (fc *FeController) UpdateStatus(src *srapi.StarRocksCluster) error

UpdateStatus update the all resource status about fe.

Jump to

Keyboard shortcuts

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