habitat

package
v1.1.3 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2021 License: Apache-2.0 Imports: 5 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Executable

func Executable() (string, error)

Taken from https://github.com/kardianos/osext/blob/master/osext_procfs.go (i didn't want to vendor the whole damn thing and it never gets updated...)

func ExecutableFolder

func ExecutableFolder() (string, error)

func GetIPAddresses

func GetIPAddresses() []string

func GetMyIP

func GetMyIP() string

Todo: this can be pulled from cloud Metadata if inside VPC

func GetPrimaryNetworkInterface

func GetPrimaryNetworkInterface() (string, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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