Documentation
¶
Index ¶
- func HeadlessServiceName(groupName string) string
- func TaskService(state common.TiCDCGroupState, c client.Client) task.Task
- func TaskUpdater(state *ReconcileContext, c client.Client, af tracker.AllocateFactory) task.Task
- func TiCDCNewer(cdcg *v1alpha1.TiCDCGroup, rev string, _ features.Gates) updater.NewFactory[*runtime.TiCDC]
- type ReconcileContext
- type State
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HeadlessServiceName ¶
func TaskService ¶
func TaskUpdater ¶
func TaskUpdater(state *ReconcileContext, c client.Client, af tracker.AllocateFactory) task.Task
TaskUpdater is a task to scale or update TiCDC when spec of TiCDCGroup is changed.
func TiCDCNewer ¶
func TiCDCNewer(cdcg *v1alpha1.TiCDCGroup, rev string, _ features.Gates) updater.NewFactory[*runtime.TiCDC]
Types ¶
type ReconcileContext ¶
type ReconcileContext struct {
State
}
type State ¶
type State interface {
common.TiCDCSliceStateInitializer
common.RevisionStateInitializer[*runtime.TiCDCGroup]
common.TiCDCGroupState
common.ClusterState
common.TiCDCSliceState
common.RevisionState
common.GroupState[*runtime.TiCDCGroup]
common.ContextClusterNewer[*v1alpha1.TiCDCGroup]
common.ContextObjectNewer[*v1alpha1.TiCDCGroup]
common.ContextSliceNewer[*v1alpha1.TiCDCGroup, *v1alpha1.TiCDC]
common.InstanceSliceState[*runtime.TiCDC]
common.SliceState[*v1alpha1.TiCDC]
common.StatusUpdater
common.StatusPersister[*v1alpha1.TiCDCGroup]
stateutil.IFeatureGates
}
func NewState ¶
func NewState(key types.NamespacedName) State
Click to show internal directories.
Click to hide internal directories.