Help us shape the future of Go! Take the 2026 Go Developer Survey

version

package
v0.9.4 Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2026 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Overview

Package version holds Wardyn's one shipped version string, kept out of cmd/* so the CLI, daemon startup log, and /healthz all report the same build — needed to diagnose CLI/server skew after a rolling upgrade.

Index

Constants

View Source
const Version = "0.9.4"

Version is the shipped release; cmd/wardyn/version_test.go pins it to the newest CHANGELOG.md section and the other shipped version strings (deploy/helm/wardyn/Chart.yaml, ui/package.json) — bump them together.

Variables

This section is empty.

Functions

func String added in v0.8.0

func String() string

String reports the build an operator is actually running. A release build returns the bare Version, byte-exact so the release-cut check in version_test.go stays true. Otherwise it appends the build commit and "-dirty" if uncommitted (e.g. "0.7.12+80852d67f-dirty"), so a pinned main build between releases is identifiable in --version, the startup log, and /healthz.

Types

This section is empty.

Jump to

Keyboard shortcuts

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