utils

package
v1.1.4 Latest Latest
Warning

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

Go to latest
Published: Jan 17, 2025 License: Apache-2.0 Imports: 17 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() (string, error)

GetProjectDir will return the directory where the project is

func GetResourceTagValues added in v1.0.1

func GetResourceTagValues(ctx context.Context, bindingsClient *resourcemanager.TagBindingsClient, valuesClient *resourcemanager.TagValuesClient, parent string) ([]string, error)

func InstallConfigConnector added in v1.0.1

func InstallConfigConnector(ctx context.Context) error

func LoadImageToKindClusterWithName

func LoadImageToKindClusterWithName(name string) error

LoadImageToKindClusterWithName loads a local docker image to the kind cluster

func RandomSuffix added in v1.0.1

func RandomSuffix(s string, length int) string

func Run

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

Run executes the provided command within this context

func UninstallConfigConnector added in v1.0.1

func UninstallConfigConnector(ctx context.Context) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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