Documentation ¶
Index ¶
Constants ¶
View Source
const ( ReleaseTargetRelease releaseTarget = "release" ReleaseTargetDebug releaseTarget = "debug" )
Variables ¶
This section is empty.
Functions ¶
func AgentVersion ¶ added in v0.30.0
func AgentVersion() string
AgentVersion returns the connect agent version.
func GitCommit ¶ added in v0.30.0
func GitCommit() string
GitCommit returns the commit SHA that was used to build the current version.
func ReleaseTarget ¶ added in v0.29.0
func ReleaseTarget() releaseTarget
ReleaseTarget returns the target type that the binary was built with.
Types ¶
type Informer ¶ added in v0.25.0
type Informer struct {
// contains filtered or unexported fields
}
Informer enables the caller to determine if they can upgrade their current version of up.
func NewInformer ¶ added in v0.25.0
NewInformer constructs a new Informer.
func (*Informer) CanUpgrade ¶ added in v0.25.0
CanUpgrade queries locally for the version of up, uses the Informer's client to check what the currently published version of up is and returns the local and remote versions and whether or not we could upgrade up.
Click to show internal directories.
Click to hide internal directories.