telepresence

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Jul 4, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

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

func GetVersion() (string, error)

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.

Jump to

Keyboard shortcuts

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