e2e

package
v0.8.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 16, 2024 License: AGPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetNonEmptyLines

func GetNonEmptyLines(output string) []string

GetNonEmptyLines converts given command output string into individual objects according to line breakers, and ignores the empty elements in it.

func GetProjectDir

func GetProjectDir(pattern string) (string, error)

GetProjectDir will return the directory where the project is The pattern is used to remove the last part of the path e.g. /home/user/go/src/github.com/flux-operator/test/e2e -> /home/user/go/src/github.com/flux-operator

func LoadImageToKindClusterWithName

func LoadImageToKindClusterWithName(name, dirPattern string) error

LoadImageToKindClusterWithName loads a local docker image to the kind cluster

func Run

func Run(cmd *exec.Cmd, dirPattern string) ([]byte, error)

Run executes the provided command within this context

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL