assert

package
v0.0.0-...-2bbc2ee Latest Latest
Warning

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

Go to latest
Published: Dec 23, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RunCommand

func RunCommand()

Types

type AssertError

type AssertError struct {
	Bin              types.Bin
	IsInstalled      bool
	NeedsUpdate      bool
	InstalledVersion *string
	RequiredVersion  *string
}

func AssertBinariesInstalledAndVersionMet

func AssertBinariesInstalledAndVersionMet(bins types.Bins) (errors []AssertError, validBins []types.Bin)

func AssertBinariesVersionMet

func AssertBinariesVersionMet(bins types.Bins) (errors []AssertError, validBins []types.Bin)

func GetBinariesNotSatisfyingRequirements

func GetBinariesNotSatisfyingRequirements() ([]AssertError, []types.Bin)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳