consul2ssh

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Feb 11, 2019 License: GPL-3.0 Imports: 16 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetEnvKey

func GetEnvKey(key, defaultVal string) string

GetEnvKey - Look up for environment variables and set default value if not exist.

func GetNodes

func GetNodes(w http.ResponseWriter, r *http.Request)

GetNodes - Get Consul nodes.

func GetNodesCMD

func GetNodesCMD(args []string)

GetNodesCMD - get nodes from API in SSH conf format.

Types

This section is empty.

Jump to

Keyboard shortcuts

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