cli

package
v0.19.8 Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2024 License: Apache-2.0 Imports: 39 Imported by: 0

Documentation

Overview

vtcombo: a single binary that contains: - a ZK topology server based on an in-memory map. - one vtgate instance. - many vttablet instances. - a vtctld instance so it's easy to see the topology.

Index

Constants

This section is empty.

Variables

View Source
var (
	Main = &cobra.Command{
		Use:   "vtcombo",
		Short: "vtcombo is a single binary containing several vitess components.",
		Long: `vtcombo is a single binary containing several vitess components.

In particular, it contains:
- A topology server based on an in-memory map.
- One vtgate instance.
- Many vttablet instances.
- A vtctld instance so it's easy to see the topology.`,
		Args:    cobra.NoArgs,
		Version: servenv.AppVersion.String(),
		PreRunE: servenv.CobraPreRunE,
		RunE:    run,
	}
)

Functions

This section is empty.

Types

type DBDDL

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

DBDDL doesn't need to store any state - we use the global variables above instead

func (*DBDDL) CreateDatabase

func (plugin *DBDDL) CreateDatabase(ctx context.Context, name string) error

CreateDatabase implements the engine.DBDDLPlugin interface

func (*DBDDL) DropDatabase

func (plugin *DBDDL) DropDatabase(ctx context.Context, name string) error

DropDatabase implements the engine.DBDDLPlugin interface

Jump to

Keyboard shortcuts

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