version package - github.com/fluxcd/pkg/version - Go Packages
This section is empty.
This section is empty.
FluxMinorForRepoMinor computes the flux2 distribution minor version for the given repository minor version. This function also supports repoName="flux2" and repoMinor=<any minor version of flux2>.
ParseVersion parses a version string and returns a semver.Version object. The validation is looser than the official semver spec, allowing for a 'v' prefix and 0-prefixed numbers in the major, minor, and patch segments (e.g., v2025.02.03-rc.1 is considered valid).
RepoMajor returns the major version for the given repository name.
RepoMinorForFluxMinor computes the repository minor version for the given flux2 distribution minor version. This function also supports repoName="flux2".
Sort filters the given strings based on the provided semver range and sorts them in descending order.
This section is empty.