command

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2024 License: Apache-2.0 Imports: 31 Imported by: 0

Documentation

Index

Constants

View Source
const CONFIG_ENV_PREFIX = "KNOT"
View Source
const CONFIG_FILE_NAME = ".knot"
View Source
const CONFIG_FILE_TYPE = "yaml"

Variables

View Source
var (
	RootCmd = &cobra.Command{
		Use:     "knot",
		Short:   "knot simplifies the deployment of development environments",
		Long:    `knot simplifies the deployment of development environments using a Nomad cluster for hosting of the container based services.`,
		Version: build.Version + " (" + build.Date + ")",
		Run: func(cmd *cobra.Command, args []string) {
			cmd.Help()
		},
	}
)

Functions

func Execute

func Execute()

Types

type ServerAddr

type ServerAddr struct {
	HttpServer string
	WsServer   string
	ApiToken   string
}

func GetServerAddr

func GetServerAddr() ServerAddr

Read the server configuration information and generate the websocket address

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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