kdlib

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 21, 2021 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckErr

func CheckErr(err error)

func CheckFileExist

func CheckFileExist(filename string)

func CheckIP

func CheckIP(ipv4 string)

func CheckParam

func CheckParam(paramname string, param string)

func CheckSoft

func CheckSoft(softname string)

func CheckSshLogin

func CheckSshLogin(nodeIP string, hostUsername string, hostHomedir string)

func ExternalIP

func ExternalIP() (net.IP, error)

func GetPod

func GetPod(podName string, nameSpace string, kubeConfig string) (string, string, string)

Get Pod containerID

func ShellAsynclog

func ShellAsynclog(reader io.ReadCloser) error

func ShellExecute

func ShellExecute(shellfile string) error

func ShellOutput

func ShellOutput(strCommand string) (string, error)

func ShowHelp

func ShowHelp()

func ShowVersion

func ShowVersion()

Types

This section is empty.

Jump to

Keyboard shortcuts

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