Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConfiguredAndV1 ¶
func ConfiguredAndV1() bool
ConfiguredAndV1 returns true if the project is already configured and it is v1
func FindCurrentRepo ¶
FindCurrentRepo attempts to determine the current repository though a combination of go/packages and `go mod` commands/tricks.
func IsDNS1123Label ¶
IsDNS1123Label tests for a string that conforms to the definition of a label in DNS (RFC 1123).
func PrintV1DeprecationWarning ¶
func PrintV1DeprecationWarning()
PrintV1DeprecationWarning prints a deprecation warning if some v1 feature is used
func RunCmd ¶
RunCmd prints the provided message and command and then executes it binding stdout and stderr
func ValidateGoVersion ¶
func ValidateGoVersion() error
ValidateGoVersion verifies that Go is installed and the current go version is supported by kubebuilder
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.