tidbinitializer

package
v1.5.0-alpha.2 Latest Latest
Warning

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

Go to latest
Published: Feb 3, 2023 License: Apache-2.0 Imports: 14 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 {
	// ReconcileTidbInitializer implements the reconcile logic of TidbInitializer
	ReconcileTidbInitializer(ti *v1alpha1.TidbInitializer) error
}

ControlInterface reconciles TidbInitializer

func NewDefaultTidbInitializerControl

func NewDefaultTidbInitializerControl(manager member.InitManager) ControlInterface

NewDefaultTidbInitializerControl returns a new instance of the default TidbInitializer ControlInterface

type Controller

type Controller struct {
	// contains filtered or unexported fields
}

Controller syncs TidbInitializer

func NewController

func NewController(deps *controller.Dependencies) *Controller

NewController creates a tidbinitializer controller.

func (*Controller) Run

func (c *Controller) Run(workers int, stopCh <-chan struct{})

Run run workers

type FakeTidbInitializerControl

type FakeTidbInitializerControl struct {
	// contains filtered or unexported fields
}

FakeTidbInitializerControl is a fake TidbInitializer ControlInterface

func NewFakeTidbInitializerControl

func NewFakeTidbInitializerControl() *FakeTidbInitializerControl

NewFakeTidbInitializerControl returns a FakeTidbInitializerControl

func (*FakeTidbInitializerControl) ReconcileTidbInitializer

func (tic *FakeTidbInitializerControl) ReconcileTidbInitializer(ti *v1alpha1.TidbInitializer) error

ReconcileTidbInitializer fake ReconcileTidbInitializer

func (*FakeTidbInitializerControl) SetReconcileTidbInitializerError

func (tic *FakeTidbInitializerControl) SetReconcileTidbInitializerError(err error)

SetReconcileTidbInitializerError sets error for TidbInitializerControl

Jump to

Keyboard shortcuts

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