version

package
v0.0.0-...-de93505 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CloudbeatSemanticVersion

func CloudbeatSemanticVersion() string

CloudbeatSemanticVersion returns the current cloudbeat version.

Types

type CloudbeatVersionInfo

type CloudbeatVersionInfo struct {
	Version `mapstructure:",squash"` // Version info for cloudbeat
	Policy  Version                  `mapstructure:"policy,omitempty"` // Policy version info for the rules policy
}

type Version

type Version struct {
	Version    string `mapstructure:"version,omitempty"`     // Version is the semantic version of the package
	CommitHash string `mapstructure:"commit_sha,omitempty"`  // CommitHash is the git commit hash of the package
	CommitTime string `mapstructure:"commit_time,omitempty"` // CommitTime is the git commit time of the package
}

Version represents version information for a package

func CloudbeatVersion

func CloudbeatVersion() Version

CloudbeatVersion returns cloudbeat version info used for the build.

Jump to

Keyboard shortcuts

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