Documentation
¶
Index ¶
- func CheckFEOk(ctx context.Context, k8sClient client.Client, src *srapi.StarRocksCluster) 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) Sync(ctx context.Context, src *srapi.StarRocksCluster) error
- func (fc *FeController) UpdateStatus(src *srapi.StarRocksCluster) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type FeController ¶
type FeController struct {
// contains filtered or unexported fields
}
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) Sync ¶
func (fc *FeController) Sync(ctx context.Context, src *srapi.StarRocksCluster) error
Sync starRocksCluster spec to fe statefulset and service.
func (*FeController) UpdateStatus ¶
func (fc *FeController) UpdateStatus(src *srapi.StarRocksCluster) error
UpdateStatus update the all resource status about fe.
Click to show internal directories.
Click to hide internal directories.