Documentation ¶
Index ¶
- func Command(name string, arg []string) (string, error)
- func ConcatStrings(ss ...string) string
- func GetCurPath() string
- func GetHostname() string
- func GetLocalIP(hostName string) (string, error)
- func GetResourceID(namespace, name string) string
- func SpliceErrors(errors []error) string
- func ValidateNodeIP(nodeIP net.IP) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConcatStrings ¶
ConcatStrings use bytes.buffer to concatenate string variable
func GetLocalIP ¶
func GetResourceID ¶
GetResourceID return resource ID
func SpliceErrors ¶
func ValidateNodeIP ¶
ValidateNodeIP validates given node IP belongs to the current host
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.