Documentation
¶
Index ¶
- func GetNonEmptyLines(output string) []string
- func GetProjectDir() (string, error)
- func InstallCertManager() error
- func InstallThirdPartyCRDs() error
- func IsCertManagerCRDsInstalled() bool
- func LoadImageToKindClusterWithName(name string) error
- func Run(cmd *exec.Cmd) (string, error)
- func UncommentCode(filename, target, prefix string) error
- func UninstallCertManager()
- func UninstallThirdPartyCRDs()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetNonEmptyLines ¶
GetNonEmptyLines splits command output into lines, dropping empty ones.
func GetProjectDir ¶
GetProjectDir returns the project's root directory.
func InstallCertManager ¶
func InstallCertManager() error
InstallCertManager installs the cert-manager bundle.
func InstallThirdPartyCRDs ¶
func InstallThirdPartyCRDs() error
InstallThirdPartyCRDs installs the CRDs the operator requires — Flux's HelmRepository and the Gateway API's Gateway. SetupWithManager refuses to start without them. See test/crd/README.md to refresh the copies.
func IsCertManagerCRDsInstalled ¶
func IsCertManagerCRDsInstalled() bool
IsCertManagerCRDsInstalled reports whether any cert-manager CRD is present.
func LoadImageToKindClusterWithName ¶
LoadImageToKindClusterWithName loads a local docker image into the kind cluster.
func UncommentCode ¶
UncommentCode strips prefix from every line of target within the file. The target content may span multiple lines.
func UninstallCertManager ¶
func UninstallCertManager()
UninstallCertManager uninstalls cert-manager.
func UninstallThirdPartyCRDs ¶
func UninstallThirdPartyCRDs()
UninstallThirdPartyCRDs removes the CRDs installed by InstallThirdPartyCRDs.
Types ¶
This section is empty.