fe

package
v0.0.0-...-5e4cb18 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Default_Election_Number int32 = 3
)

Functions

This section is empty.

Types

type Controller

type Controller struct {
	sub_controller.SubDefaultController
}

func New

func New(k8sclient client.Client, k8sRecorder record.EventRecorder) *Controller

New construct a FeController.

func (*Controller) ClearResources

func (fc *Controller) ClearResources(ctx context.Context, cluster *v1.DorisCluster) (bool, error)

func (*Controller) GetControllerName

func (fc *Controller) GetControllerName() string

func (*Controller) Sync

func (fc *Controller) Sync(ctx context.Context, cluster *v1.DorisCluster) error

Sync DorisCluster to fe statefulset and service.

func (*Controller) UpdateComponentStatus

func (fc *Controller) UpdateComponentStatus(cluster *v1.DorisCluster) error

Jump to

Keyboard shortcuts

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