constants

package
v0.0.0-...-5c79d48 Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2024 License: AGPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// MaintenancePath is the version discovery endpoint representing if the
	// target version represents a critical update as defined in
	// https://github.com/gravitational/teleport/blob/master/rfd/0109-cloud-agent-upgrades.md#version-discovery-endpoint
	MaintenancePath = "critical"
	// VersionPath is the version discovery endpoint returning the current
	// target version as defined in
	// https://github.com/gravitational/teleport/blob/master/rfd/0109-cloud-agent-upgrades.md#version-discovery-endpoint
	VersionPath   = "version"
	HTTPTimeout   = 10 * time.Second
	CacheDuration = time.Minute

	// NoVersion is returned by the version endpoint when there is no valid target version.
	// This can be caused by the target version being incompatible with the cluster version.
	NoVersion = "none"
)

Variables

This section is empty.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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