cloud

package
v2.12.0-rc.4 Latest Latest
Warning

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

Go to latest
Published: Mar 15, 2023 License: Apache-2.0 Imports: 22 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