Documentation ¶
Overview ¶
+k8s:deepcopy-gen=package +groupName=starrocks.com
Index ¶
Constants ¶
View Source
const ( DeploymentLoadType = "Deployment" StatefulSetLoadType = "StatefulSet" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ClusterSubController ¶
type ClusterSubController interface { // SyncCluster reconcile for sub controller. bool represent the component have updated. SyncCluster(ctx context.Context, src *srapi.StarRocksCluster) error // ClearResources clear all resource about sub-component. // todo(yandongxiao): rename to ClearCluster ClearResources(ctx context.Context, src *srapi.StarRocksCluster) error // GetControllerName return the controller name, beController, feController,cnController for log. GetControllerName() string // UpdateClusterStatus only update the component status in src. // todo(yandongxiao): better to rename it, because it does not send update request to k8s UpdateClusterStatus(ctx context.Context, src *srapi.StarRocksCluster) error }
type GetEventRecorderForFunc ¶ added in v1.9.2
type GetEventRecorderForFunc func(name string) record.EventRecorder
type WarehouseSubController ¶
type WarehouseSubController interface { // ClearWarehouse will clear all resource about warehouse. ClearWarehouse(ctx context.Context, namespace string, name string) error SyncWarehouse(ctx context.Context, src *srapi.StarRocksWarehouse) error GetControllerName() string UpdateWarehouseStatus(ctx context.Context, warehouse *srapi.StarRocksWarehouse) error }
Click to show internal directories.
Click to hide internal directories.