tiflowcluster

package
v1.0.0-20221102-166735... Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 19, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL