Documentation ¶
Index ¶
Constants ¶
View Source
const (
// BinaryName is a name of telepresence binary we assume be available on the $PATH.
BinaryName = "telepresence"
)
Variables ¶
This section is empty.
Functions ¶
func BinaryAvailable ¶
func BinaryAvailable() bool
BinaryAvailable checks if telepresence binary is available on the path.
func GetVersion ¶
GetVersion checks which version of telepresence should be used or is available on the path TELEPRESENCE_VERSION env variable is checked and if is defined takes precedence. If the binary is present on the $PATH then its version is used. If all above fails we return error, as there's no telepresence in use nor env var is defined.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.