Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // DefaultGitHubClientVersion is the version of gh that is installed when it's not present DefaultGitHubClientVersion = "2.27.0" // DefaultKindVersion is the default version of KinD that is installed when it's not present DefaultKindVersion = "v0.20.0" // DefaultStaticCheckVersion is the default version of StaticCheck that is installed when it's not present DefaultStaticCheckVersion = "2023.1.6" // DefaultGolangCILintVersion is the default version of golangci-lint that is installed when it's not present DefaultGolangCILintVersion = "1.62.0" )
Functions ¶
func EnforceGoVersion ¶
func EnforceGoVersion(constraint string)
Fail if the go version doesn't match the specified constraint Examples: >=1.16
func EnsureGolangCILintAt ¶ added in v0.6.4
func EnsureGolangCILintAt(version string)
Install golangci-lint at the specified version
func EnsureKindAt ¶ added in v0.1.3
func EnsureKindAt(version string)
Install kind at the specified version
func EnsureStaticCheckAt ¶ added in v0.3.0
func EnsureStaticCheckAt(version string)
Install Staticcheck at the specified version
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.