util

package
v0.0.0-...-2dbc722 Latest Latest
Warning

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

Go to latest
Published: Sep 13, 2021 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const (
	EXEC_CREATE_FAILED  = 100
	EXEC_ATTACH_FAILED  = 101
	EXEC_START_FAILED   = 102
	EXEC_INSPECT_FAILED = 103
)

Variables

This section is empty.

Functions

func ContainerDelete

func ContainerDelete(ctx context.Context, cli *client.Client, clusterName string, containers []string) error

If you don't want to run all vitess container types, then pass a slice of container names

func ContainerExec

func ContainerExec(ctx context.Context, cli client.APIClient, id string, cmd []string) int

func ContainerRun

func ContainerRun(ctx context.Context, cli *client.Client, clusterName string, keyspace string, shard string, containers []string) error

If you don't want to run all vitess container types, then pass a slice of container names

func ContainerRuntimeInit

func ContainerRuntimeInit(ctx context.Context, clusterName string) *client.Client

Types

This section is empty.

Jump to

Keyboard shortcuts

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