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
Click to show internal directories.
Click to hide internal directories.