cloud

package
v2.14.0-rc.3 Latest Latest
Warning

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

Go to latest
Published: Jun 9, 2023 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ForcedUpdateCheck

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

ForcedUpdateCheck performs an update check for the telepresence binary on the current os/arch and prints a message on stdout if an update is available. The check will bypass the cache, but will update it with the result.

func RaiseMessage

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

RaiseMessage is what is called from `PostRunE` in a command and is responsible for raising the message for the command used.

func UpdateCheckIfDue

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

UpdateCheckIfDue performs an update check for the telepresence binary on the current os/arch and prints a message on stdout if an update is available. The result is cached and will be reused for 24 hours.

Types

This section is empty.

Jump to

Keyboard shortcuts

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