Documentation ¶
Index ¶
- Constants
- Variables
- func ErrorOutput(errResult error, override string, outputFormat string)
- func Execute()
- func GetDERPConfig() headscale.DERPConfig
- func GetDNSConfig() (*tailcfg.DNSConfig, string)
- func HasMachineOutputFlag() bool
- func LoadConfig(path string) error
- func SuccessOutput(result interface{}, override string, outputFormat string)
- type Error
Constants ¶
View Source
const (
DefaultPreAuthKeyExpiry = 1 * time.Hour
)
Variables ¶
View Source
var Version = "dev"
Functions ¶
func ErrorOutput ¶
func GetDERPConfig ¶ added in v0.11.0
func GetDERPConfig() headscale.DERPConfig
func GetDNSConfig ¶ added in v0.7.1
func HasMachineOutputFlag ¶ added in v0.12.1
func HasMachineOutputFlag() bool
func LoadConfig ¶
func SuccessOutput ¶ added in v0.12.1
Types ¶
Click to show internal directories.
Click to hide internal directories.