utils

package
v0.0.0-...-7801012 Latest Latest
Warning

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

Go to latest
Published: May 23, 2024 License: Apache-2.0 Imports: 7 Imported by: 1

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

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

func IsDebugEnabled() bool

IsDebugEnabled ...

func OutputAllEvents

func OutputAllEvents(namespace string) error

func OutputAllPods

func OutputAllPods() error

func OutputDeployment

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

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