cn

package
v1.8.3 Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2023 License: Apache-2.0 Imports: 20 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 CnController

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

func New

func New(k8sClient client.Client) *CnController

func (*CnController) ClearResources

func (cc *CnController) ClearResources(ctx context.Context, src *srapi.StarRocksCluster) error

ClearResources clear the deployed resource about cn. statefulset, services, hpa.

func (*CnController) GetConfig

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

func (*CnController) GetControllerName

func (cc *CnController) GetControllerName() string

func (*CnController) Sync

func (*CnController) UpdateStatus

func (cc *CnController) UpdateStatus(src *srapi.StarRocksCluster) error

Jump to

Keyboard shortcuts

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