vtctl

package
v2.0.0-alpha5+incompat... Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2015 License: BSD-3-Clause Imports: 33 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// ErrUnknownCommand is returned for an unknown command
	ErrUnknownCommand = errors.New("unknown command")
)

Functions

func PrintAllCommands

func PrintAllCommands(logger logutil.Logger)

PrintAllCommands will print the list of commands to the logger

func RunCommand

func RunCommand(ctx context.Context, wr *wrangler.Wrangler, args []string) error

RunCommand will execute the command using the provided wrangler. It will return the actionPath to wait on for long remote actions if applicable.

Types

This section is empty.

Directories

Path Synopsis
Package fakevtctlclient contains a fake for the vtctlclient interface.
Package fakevtctlclient contains a fake for the vtctlclient interface.
Package gorpcproto contains the Go RPC definitions of the structures used to execute remote vtctl commands.
Package gorpcproto contains the Go RPC definitions of the structures used to execute remote vtctl commands.
Package gorpcvtctlclient contains the go rpc version of the vtctl client protocol
Package gorpcvtctlclient contains the go rpc version of the vtctl client protocol
Package gorpcvtctlserver contains the Go RPC implementation of the server side of the remote execution of vtctl commands.
Package gorpcvtctlserver contains the Go RPC implementation of the server side of the remote execution of vtctl commands.
Package grpcvtctlclient contains the gRPC version of the vtctl client protocol
Package grpcvtctlclient contains the gRPC version of the vtctl client protocol
Package grpcvtctlserver contains the gRPC implementation of the server side of the remote execution of vtctl commands.
Package grpcvtctlserver contains the gRPC implementation of the server side of the remote execution of vtctl commands.
Package vtctlclient contains the generic client side of the remote vtctl protocol.
Package vtctlclient contains the generic client side of the remote vtctl protocol.
Package vtctlclienttest provides testing library for vtctl implementations to use in their tests.
Package vtctlclienttest provides testing library for vtctl implementations to use in their tests.

Jump to

Keyboard shortcuts

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