package
18.0.0-dev.vnet-windows.4+incompatible
Repository: https://github.com/gravitational/teleport.git
Documentation: pkg.go.dev
# Functions
CheckAndUpdateLocal verifies if the TELEPORT_TOOLS_VERSION environment variable is set and a version is defined (or disabled by setting it to "off").
CheckAndUpdateRemote verifies client tools version is set for update in cluster configuration by making the http request to `webapi/find` endpoint.
CheckToolVersion returns current installed client tools version, must return NotFoundError if the client tools is not found in tools directory.
DefaultClientTools list of the client tools needs to be updated by default.
Dir returns the path to client tools in $TELEPORT_HOME/bin.
NewUpdater initializes the updater for client tools auto updates.
WithBaseURL defines custom base url for the updater.
WithClient defines custom http client for the Updater.
WithTools defines custom list of the tools has to be installed by updater.
WithURITemplate defines custom URI template for the updater.
# Type aliases
Option applies an option value for the Updater.