cwversion

package
v1.3.1-rc3 Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2022 License: MIT Imports: 6 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Version             string // = "v0.0.0"
	Codename            string // = "SoumSoum"
	BuildDate           string // = "I don't remember exactly"
	Tag                 string // = "dev"
	GoVersion           string // = "1.13"
	System              string // = "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 added in v0.3.2

func Latest() (string, error)

Latest return latest crowdsec version based on github

func Show

func Show()

func ShowStr added in v1.0.0

func ShowStr() string

func Statisfies

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

func VersionStr

func VersionStr() string

func VersionStrip added in v1.0.10

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