cn

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

Documentation

Index

Constants

This section is empty.

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