common

package
v0.0.0-...-a1261cd Latest Latest
Warning

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

Go to latest
Published: Jun 27, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute(commandLine string) (stdout string, stderr string, exit int, err error)

func ExistsFile

func ExistsFile(absPath string) bool

func GetItemOrError

func GetItemOrError(m map[string]string, key string) (string, error)

func GetKubeconfigPath

func GetKubeconfigPath() string

func IsBinaryExists

func IsBinaryExists(name string) bool

func ResolvePathToAbs

func ResolvePathToAbs(path string) (string, error)

func SimpleExecute

func SimpleExecute(commandLine string, failureMessage string) error

func ToInterfaceSlice

func ToInterfaceSlice(slice interface{}) []interface{}

func TypeCastError

func TypeCastError(typeName string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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