internal

package
v0.2.7 Latest Latest
Warning

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

Go to latest
Published: Dec 22, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var CmdWeb = &Command{
	Name:   "web",
	Usage:  "Start config server",
	Action: runWeb,
	Flags: []Flag{
		&StringFlag{
			Name:    flagHttp,
			Value:   ":80",
			EnvVars: []string{envPrefix + "HTTP"},
		},
		&StringFlag{
			Name:     flagRepository,
			Required: true,
			Aliases:  []string{"repo"},
			EnvVars:  []string{envPrefix + "REPO"},
		},
		&StringFlag{
			Name:    flagUsername,
			Aliases: []string{"user"},
			EnvVars: []string{envPrefix + "USER"},
		},
		&StringFlag{
			Name:    flagPassword,
			Aliases: []string{"pass"},
			EnvVars: []string{envPrefix + "PASS"},
		},
	},
}
View Source
var Version = "dev"

Functions

func NewAppContext

func NewAppContext() (ctx context.Context, cancel func())

Types

This section is empty.

Jump to

Keyboard shortcuts

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