util

package
v1.6.0 Latest Latest
Warning

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

Go to latest
Published: Jun 16, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetNodeAddresses

func GetNodeAddresses(node *corev1.Node) []string

GetNodeAddresses returns a node's addresses in a special order

func Invoke

func Invoke(any interface{}, name string, args ...interface{}) (values []reflect.Value, err error)

Invoke calls an objet's method by name

func TestConnectivity

func TestConnectivity(addrs []string, port string) string

TestConnectivity tests the given addresses one by one and return the first successful one, if all failed, return empty

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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