utils

package
v1.44.1 Latest Latest
Warning

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

Go to latest
Published: Sep 12, 2023 License: Apache-2.0 Imports: 7 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 GetOperatorImageName added in v1.33.0

func GetOperatorImageName() (string, error)

GetOperatorImageName retrieves the operator image name to use

func GetProjectDir

func GetProjectDir() (string, error)

GetProjectDir will return the directory where the project is

func IsDebugEnabled added in v1.33.0

func IsDebugEnabled() bool

IsDebugEnabled ...

func OutputAllEvents added in v1.33.0

func OutputAllEvents(namespace string) error

func OutputAllPods added in v1.32.0

func OutputAllPods() error

func OutputDeployment added in v1.33.0

func OutputDeployment(namespace, deployName string) error

func Run

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

Run executes the provided command within this context

func StringToLines added in v1.32.0

func StringToLines(s string) (lines []string, err error)

StringToLines read lines from a string

Types

This section is empty.

Jump to

Keyboard shortcuts

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