standalone

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: 13 Imported by: 0

Documentation

Index

Constants

View Source
const (
	FRAME_STANDALONE = "mysql"
	CONTAINER_PORT   = 3306
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ControlInterface

type ControlInterface interface {
	UpdateStandalone(ctx context.Context, cluster *v1alpha1.Standalone) (ctrl.Result, error)
}

ControlInterface implements the control logic for updating Standalone 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 NewDefaultStandaloneControl

func NewDefaultStandaloneControl(cli client.Client, schema *runtime.Scheme) ControlInterface

type StandaloneManager

type StandaloneManager interface {
	// Sync implements the logic for syncing standalone.
	Sync(context.Context, *pingcapcomv1alpha1.Standalone) (ctrl.Result, error)
}

func NewFrameManager

func NewFrameManager(cli client.Client, Scheme *runtime.Scheme) StandaloneManager

Jump to

Keyboard shortcuts

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