computegroups

package
v0.0.0-...-f04a6dd Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2026 License: Apache-2.0 Imports: 25 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DisaggregatedComputeGroupsController

type DisaggregatedComputeGroupsController struct {
	sc.DisaggregatedSubDefaultController
}

func (*DisaggregatedComputeGroupsController) ClearResources

func (dcgs *DisaggregatedComputeGroupsController) ClearResources(ctx context.Context, obj client.Object) (bool, error)

clear not configed cg resources, delete not configed cg status from ddc.status .

func (*DisaggregatedComputeGroupsController) ClearStatefulsetUnusedPVCs

ClearStatefulsetUnusedPVCs 1.delete unused pvc skip cluster is Suspend 2.delete unused pvc for statefulset 3.delete pvc if not used by any statefulset

func (*DisaggregatedComputeGroupsController) GetCG2LayerCommonSchedulerLabels

func (dcgs *DisaggregatedComputeGroupsController) GetCG2LayerCommonSchedulerLabels(ddcName string) map[string]string

func (*DisaggregatedComputeGroupsController) GetControllerName

func (dcgs *DisaggregatedComputeGroupsController) GetControllerName() string

func (*DisaggregatedComputeGroupsController) NewCGContainer

func (dcgs *DisaggregatedComputeGroupsController) NewCGContainer(ddc *dv1.DorisDisaggregatedCluster, cvs map[string]interface{}, cg *dv1.ComputeGroup) corev1.Container

func (*DisaggregatedComputeGroupsController) NewPodTemplateSpec

func (dcgs *DisaggregatedComputeGroupsController) NewPodTemplateSpec(ddc *dv1.DorisDisaggregatedCluster, selector map[string]string, cvs map[string]interface{}, cg *dv1.ComputeGroup) corev1.PodTemplateSpec

func (*DisaggregatedComputeGroupsController) NewStatefulset

func (dcgs *DisaggregatedComputeGroupsController) NewStatefulset(ddc *dv1.DorisDisaggregatedCluster, cg *dv1.ComputeGroup, cvs map[string]interface{}) *appv1.StatefulSet

func (*DisaggregatedComputeGroupsController) Sync

func (*DisaggregatedComputeGroupsController) UpdateComponentStatus

func (dcgs *DisaggregatedComputeGroupsController) UpdateComponentStatus(obj client.Object) error

Jump to

Keyboard shortcuts

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