conf

package
v0.9.2 Latest Latest
Warning

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

Go to latest
Published: Jul 9, 2020 License: Apache-2.0 Imports: 1 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DBConfOptions = []util.Option{
	{
		Name:    "db.path",
		Default: "/var/lib/panto/panto.sqlite",
		Usage:   "path to the SQLite database file",
		Flag:    "db-path",
	},
	{
		Default: "",
		Usage:   "path to the configuration file",
		Flag:    "conf",
	},
}

DBConfOptions is the list of options for the `panto-ctl dbconf` command

View Source
var InitConfigOptions = []util.Option{
	{
		Name:    "data-path",
		Default: "",
		Usage:   "the path to store data files to",
		Flag:    "data-path",
	},
	{
		Name:    "db-path",
		Default: "",
		Usage:   "the path of the SQLite database file",
		Flag:    "db-path",
	},
	{
		Name:    "conf-path",
		Default: "",
		Usage:   "the path to store the configuration file to",
		Flag:    "conf-path",
	},
	{
		Name:    "log-path",
		Default: "",
		Usage:   "the path of a file to log Panto output",
		Flag:    "log-path",
	},
	{
		Name:    "grpc-address",
		Default: "",
		Usage:   "the address to bind the gRPC API server to",
		Flag:    "grpc-address",
	},
	{
		Name:    "rest-address",
		Default: "",
		Usage:   "the address to bind the REST API server to",
		Flag:    "rest-address",
	},
	{
		Name:    "certfile",
		Default: "",
		Usage:   "the path of a PEM certificate file",
		Flag:    "certfile",
	},
	{
		Name:    "certkey",
		Default: "",
		Usage:   "the path of a certificate key file",
		Flag:    "certkey",
	},
}

InitConfigOptions is the list of options for the `panto-ctl init config` command

View Source
var InitDataOptions = []util.Option{
	{
		Name:     "db-path",
		Default:  "/var/lib/panto/panto.sqlite",
		Usage:    "the path of the SQLite database file",
		Flag:     "db-path",
		Env:      "DB_PATH",
		Optional: true,
	},
}

InitDataOptions is the list of options for the `panto-ctl init data` command

View Source
var InitOptions = []util.Option{
	{
		Name:    "install-prefix",
		Default: "/",
		Usage:   "the default prefix for the Panto installation",
		Flag:    "install-prefix",
	},
}

InitOptions is the list of options for the `panto-ctl init` command

View Source
var InitOptionsPersistent = []util.Option{
	{
		Name:    "dry-run",
		Default: false,
		Usage:   "do not perform any operations, just output what would be done",
		Flag:    "dry-run",
		Short:   "n",
	},
	{
		Name:    "verbose",
		Default: false,
		Usage:   "write activity to stdout",
		Flag:    "verbose",
		Short:   "v",
	},
}

InitOptionsPersistent is the list of options for the `panto-ctl init` command and subcommands

View Source
var UserOptions = []util.Option{
	{
		Name:    "db.path",
		Default: "",
		Usage:   "path to the SQLite database file",
		Flag:    "db-path",
	},
}

UserOptions is the list of options for the `panto-ctl user` command

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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