cliHandlers

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Jun 1, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var StartOptFlags = []cli.Flag{
	&cli.BoolFlag{
		Name:    "override",
		Aliases: []string{"o"},
		Usage:   "override configurations",
	},
	&cli.StringFlag{
		Name:    "port",
		Aliases: []string{"p"},
		Usage:   "set port to run instance",
	},
	&cli.StringFlag{
		Name:    "storage",
		Aliases: []string{"s"},
		Usage:   "set persistant storage path",
	},
	&cli.StringFlag{
		Name:    "admin",
		Aliases: []string{"a"},
		Usage:   "Admin Username and password. Value should be passed as username:password",
	},
}

Functions

This section is empty.

Types

type Client

type Client interface {
	VersionOptHandler(ctx *cli.Context) error
	StartOptHandler(ctx *cli.Context) error
}

func GetCliHandlers

func GetCliHandlers(wdbVersion, cliVersion string) Client

Jump to

Keyboard shortcuts

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