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 is a management tool for developer environments running within a Nomad cluster. It offers both a user-friendly web interface and a command line interface to streamline the deployment process and simplify access.`, Version: build.Version, Run: func(cmd *cobra.Command, args []string) { cmd.Help() }, } )
Functions ¶
func FixListenAddress ¶ added in v0.9.0
Types ¶
type ServerAddr ¶
func GetServerAddr ¶
func GetServerAddr() ServerAddr
Read the server configuration information and generate the websocket address
Source Files ¶
Click to show internal directories.
Click to hide internal directories.