Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsValidAgentVersion ¶ added in v0.8.0
IsValidAgentVersion checks if the version string is valid (not empty, not "unknown", and matches semver pattern). Valid versions must start with 'v' followed by major.minor.patch (e.g., v0.5.1, v0.5.1-25-g45c60d3).
Types ¶
type Info ¶
type Info struct {
Major string `json:"major"`
Minor string `json:"minor"`
GitVersion string `json:"gitVersion"`
GitCommit string `json:"gitCommit"`
GitTreeState string `json:"gitTreeState"`
BuildDate string `json:"buildDate"`
GoVersion string `json:"goVersion"`
Compiler string `json:"compiler"`
Platform string `json:"platform"`
Patch string `json:"patch"`
AgentGitCommit string `json:"agentGitCommit"`
AgentVersionName string `json:"agentVersionName"`
}
Click to show internal directories.
Click to hide internal directories.