Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ControlInterface ¶
type ControlInterface interface { // UpdateTiflowCluster implements the control logic for StatefulSet creation, update, and deletion UpdateTiflowCluster(ctx context.Context, cluster *v1alpha1.TiflowCluster) error }
ControlInterface implements the control logic for updating TiflowClusters and their children StatefulSets. It is implemented as an interface to allow for extensions that provide different semantics. Currently, there is only one implementation.
func NewDefaultTiflowClusterControl ¶
func NewDefaultTiflowClusterControl(cli client.Client, clientSet kubernetes.Interface) ControlInterface
NewDefaultTiflowClusterControl returns a new instance of the default implementation tiflowClusterControlInterface that implements the documented semantics for tiflowClusters.
Click to show internal directories.
Click to hide internal directories.