cwversion

package
v1.5.47 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Version             string                  // = "v0.0.0"
	Codename            string                  // = "SoumSoum"
	BuildDate           string                  // = "0000-00-00_00:00:00"
	Tag                 string                  // = "dev"
	GoVersion           = runtime.Version()[2:] // = "1.13"
	System              = runtime.GOOS          // = "linux"
	Constraint_parser   = ">= 1.0, <= 2.0"
	Constraint_scenario = ">= 1.0, < 3.0"
	Constraint_api      = "v1"
	Constraint_acquis   = ">= 1.0, < 2.0"
)

Functions

func Latest

func Latest() (string, error)

Latest return latest crowdsec version based on github

func Show

func Show()

func ShowStr

func ShowStr() string

func Statisfies

func Statisfies(strvers string, constraint string) (bool, error)

func VersionStr

func VersionStr() string

func VersionStrip

func VersionStrip() string

Types

This section is empty.

Jump to

Keyboard shortcuts

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