# Functions

GetNonEmptyLines converts given command output string into individual objects according to line breakers, and ignores the empty elements in it.
GetProjectDir will return the directory where the project is.
InstallCertManager installs the cert manager bundle.
InstallPrometheusOperator installs the prometheus Operator to be used to export the enabled metrics.
IsCertManagerCRDsInstalled checks if any Cert Manager CRDs are installed by verifying the existence of key CRDs related to Cert Manager.
IsPrometheusCRDsInstalled checks if any Prometheus CRDs are installed by verifying the existence of key CRDs related to Prometheus.
LoadImageToKindClusterWithName loads a local docker image to the kind cluster.
Run executes the provided command within this context.
UncommentCode searches for target in the file and remove the comment prefix of the target content.
UninstallCertManager uninstalls the cert manager.
UninstallPrometheusOperator uninstalls the prometheus.