Documentation ¶
Overview ¶
Package version provides methods to determine the correct version of components.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ProjectName is a component name, e.g. everest API Server, everestctl. ProjectName string //nolint:gochecknoglobals // Version is a component version e.g. v0.3.0-1-a93bef. Version string //nolint:gochecknoglobals // FullCommit is a git commit hash. FullCommit string //nolint:gochecknoglobals // EverestChannelOverride overrides the default olm channel for Everest operator. EverestChannelOverride string //nolint:gochecknoglobals )
Functions ¶
func EverestVersionFromDeployment ¶ added in v0.10.0
func EverestVersionFromDeployment(ctx context.Context, dg deploymentGetter) (*goversion.Version, error)
EverestVersionFromDeployment returns Everest version from the k8s deployment resource.
func FullVersionJSON ¶
FullVersionJSON returns version info as JSON.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.