Documentation
¶
Index ¶
- func GetNonEmptyLines(output string) []string
- func GetProjectDir() (string, error)
- func InstallPrometheusOperator() error
- func LoadImageToKindClusterWithName(name string) error
- func Run(cmd *exec.Cmd) ([]byte, error)
- func UninstallPrometheusOperator()
- func VerifyDNSRecordAbsent(objName string) error
- func VerifyDNSRecordContent(objName, expectedContent string) error
- func VerifyObjectReady(objType, objName string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetNonEmptyLines ¶
GetNonEmptyLines converts given command output string into individual objects according to line breakers, and ignores the empty elements in it.
func GetProjectDir ¶
GetProjectDir will return the directory where the project is
func InstallPrometheusOperator ¶
func InstallPrometheusOperator() error
InstallPrometheusOperator installs the prometheus Operator to be used to export the enabled metrics.
func LoadImageToKindClusterWithName ¶
LoadImageToKindCluster loads a local docker image to the kind cluster
func UninstallPrometheusOperator ¶
func UninstallPrometheusOperator()
UninstallPrometheusOperator uninstalls the prometheus
func VerifyDNSRecordAbsent ¶ added in v1.5.0
func VerifyDNSRecordContent ¶ added in v1.5.0
func VerifyObjectReady ¶ added in v1.5.0
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.