telepresence

package
v0.5.3 Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2022 License: Apache-2.0 Imports: 9 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 CreateTpCommand added in v0.5.2

func CreateTpCommand(cmd *cobra.Command) ([]string, error)

CreateTpCommand translates `ike develop` command to underlying Telepresence invocation.

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