Documentation
¶
Index ¶
- func CreateNamespace(namespace string)
- func GetController(namespace string) (manager.Manager, error)
- func GetK8sClient(ctx context.Context, namespace string) (client.Client, error)
- func GetNonEmptyLines(output string) []string
- func GetProjectDir() (string, error)
- func GetRandomName() string
- func InstallCertManager() error
- func InstallHelmChart(ctx context.Context, namespace string, releaseName string, chart string) error
- func InstallMetricsServer() error
- func InstallPrometheusOperator() error
- func LoadImageToKindClusterWithName(name string) error
- func Run(cmd *exec.Cmd) ([]byte, error)
- func UninstallCertManager()
- func UninstallHelmChart(ctx context.Context, namespace string, releaseName string) error
- func UninstallMetricsServer()
- func UninstallPrometheusOperator()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateNamespace ¶
func CreateNamespace(namespace string)
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 GetRandomName ¶
func GetRandomName() string
func InstallCertManager ¶
func InstallCertManager() error
InstallCertManager installs the cert manager bundle.
func InstallHelmChart ¶
func InstallMetricsServer ¶
func InstallMetricsServer() error
InstallMetricsServer installs the metrics server
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 UninstallCertManager ¶
func UninstallCertManager()
UninstallCertManager uninstalls the cert manager
func UninstallHelmChart ¶
func UninstallMetricsServer ¶
func UninstallMetricsServer()
UninstallMetricsServer uninstalls the metrics server
func UninstallPrometheusOperator ¶
func UninstallPrometheusOperator()
UninstallPrometheusOperator uninstalls the prometheus
Types ¶
This section is empty.