cn

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: 16 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CN_SEARCH_SUFFIX = "-search"
)

Variables

This section is empty.

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

func (*Controller) ClearResources

func (cn *Controller) ClearResources(ctx context.Context, dcr *dorisv1.DorisCluster) (bool, error)

func (*Controller) DeleteAutoscaler

func (cn *Controller) DeleteAutoscaler(ctx context.Context, dcr *dorisv1.DorisCluster) error

func (*Controller) GetConfig

func (cn *Controller) GetConfig(ctx context.Context, configMapInfo *dorisv1.ConfigMapInfo, namespace string) (map[string]interface{}, error)

func (*Controller) GetControllerName

func (cn *Controller) GetControllerName() string

func (*Controller) Sync

func (cn *Controller) Sync(ctx context.Context, dcr *dorisv1.DorisCluster) error

func (*Controller) UpdateComponentStatus

func (cn *Controller) UpdateComponentStatus(cluster *dorisv1.DorisCluster) error

Jump to

Keyboard shortcuts

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