Documentation ¶
Index ¶
- func CheckFEReady(ctx context.Context, k8sClient client.Client, ...) bool
- func GetFeConfig(ctx context.Context, k8sClient client.Client, ...) (map[string]interface{}, error)
- type FeController
- func (fc *FeController) ClearResources(ctx context.Context, src *srapi.StarRocksCluster) error
- func (fc *FeController) GetControllerName() string
- func (fc *FeController) SyncCluster(ctx context.Context, src *srapi.StarRocksCluster) error
- func (fc *FeController) UpdateClusterStatus(_ context.Context, src *srapi.StarRocksCluster) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type FeController ¶
type FeController struct { Client client.Client Recorder record.EventRecorder }
func New ¶
func New(k8sClient client.Client, recorderFor subcontrollers.GetEventRecorderForFunc) *FeController
New construct a FeController.
func (*FeController) ClearResources ¶
func (fc *FeController) ClearResources(ctx context.Context, src *srapi.StarRocksCluster) error
ClearResources clear resource about fe.
func (*FeController) GetControllerName ¶
func (fc *FeController) GetControllerName() string
func (*FeController) SyncCluster ¶
func (fc *FeController) SyncCluster(ctx context.Context, src *srapi.StarRocksCluster) error
SyncCluster starRocksCluster spec to fe statefulset and service.
func (*FeController) UpdateClusterStatus ¶
func (fc *FeController) UpdateClusterStatus(_ context.Context, src *srapi.StarRocksCluster) error
UpdateClusterStatus update the all resource status about fe.
Click to show internal directories.
Click to hide internal directories.