version

package
v0.9.4 Latest Latest
Warning

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

Go to latest
Published: Oct 2, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package version provides functions to check version compatibility between templates and binaries.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsCompatible

func IsCompatible(constraint string) (bool, error)

IsCompatible returns whether the given string version constraint is compatible with the binary version. Compatibility is determined by github.com/hashicorp/go-version. It returns an error if the constraint string or binary version cannot be interpreted.

Types

This section is empty.

Jump to

Keyboard shortcuts

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