vitess

package
v0.0.0-...-1aef31a Latest Latest
Warning

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

Go to latest
Published: May 25, 2021 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Flags

type Flags map[string]interface{}

Flags represents values for flags to be passed to Vitess binaries.

The keys for this map should *not* have any leading '-' characters. These will be added when the flags are formatted as a command line.

The values can be any type that can be converted to string with the `%v` format specifier in fmt.Sprintf().

func (Flags) FormatArgs

func (f Flags) FormatArgs() []string

FormatArgs returns the flags as a flattened list of command-line args in the format needed for a Container spec.

func (Flags) Merge

func (f Flags) Merge(flags Flags) Flags

Merge sets the given flags, overwriting duplicates.

Jump to

Keyboard shortcuts

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