Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetAgentVersion ¶ added in v0.28.0
func GetAgentVersion() string
GetAgentVersion returns the connect agent version.
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.
type Option ¶ added in v0.25.0
type Option func(*Informer)
Option modifies the Informer.
func WithLogger ¶ added in v0.25.0
WithLogger overrides the default logger for the Informer.
type ReleaseTarget ¶ added in v0.29.0
type ReleaseTarget string
const ( ReleaseTargetRelease ReleaseTarget = "release" ReleaseTargetDebug ReleaseTarget = "debug" )
func GetReleaseTarget ¶ added in v0.29.0
func GetReleaseTarget() ReleaseTarget
GetReleaseTarget returns the target type that the binary was built with.
Click to show internal directories.
Click to hide internal directories.