tools

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2023 License: Apache-2.0 Imports: 10 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (

	// DefaultKindVersion is the default version of KinD that is installed when it's not present
	DefaultKindVersion = "v0.12.0"

	// DefaultStaticCheckVersion is the default version of StaticCheck that is installed when it's not present
	DefaultStaticCheckVersion = "2022.1.2"
)

Functions

func EnforceGoVersion

func EnforceGoVersion(constraint string)

Fail if the go version doesn't match the specified constraint Examples: >=1.16

func EnsureGitHubClient

func EnsureGitHubClient()

Install gh

func EnsureKind

func EnsureKind()

Install kind

func EnsureKindAt added in v0.1.3

func EnsureKindAt(version string)

Install kind at the specified version

func EnsureMage

func EnsureMage() error

Install mage

func EnsureStaticCheck added in v0.3.0

func EnsureStaticCheck()

Install Staticcheck

func EnsureStaticCheckAt added in v0.3.0

func EnsureStaticCheckAt(version string)

Install Staticcheck at the specified version

Types

This section is empty.

Jump to

Keyboard shortcuts

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