Documentation ¶
Index ¶
- func CheckAgentLog(namespace, name string, dynclient client.Client) (string, error)
- func CheckManagerLog(namespace, name string) (string, error)
- func CleanEIPList(dynclient client.Client) error
- func Connect(user, password, host, key string, port int, cipherList []string) (*ssh.Session, error)
- func GetDefaultPrivateKeyFile() string
- func GetLogOfPod(rest *rest.RESTClient, namespace, name string, ...) error
- func GetServiceNodesIP(c client.Client, namespace, name string) ([]string, error)
- func QuickConnectAndRun(host, cmd string) ([]byte, error)
- func QuickConnectUsingDefaultSSHKey(host string) (*ssh.Session, error)
- func WaitForController(c client.Client, namespace, name string, retryInterval, timeout time.Duration) error
- func WaitForDeletion(dynclient client.Client, obj runtime.Object, ...) error
- type LogInfo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckAgentLog ¶ added in v0.1.0
func CheckManagerLog ¶ added in v0.1.0
func CleanEIPList ¶ added in v0.1.0
func GetDefaultPrivateKeyFile ¶
func GetDefaultPrivateKeyFile() string
func GetLogOfPod ¶
func GetLogOfPod(rest *rest.RESTClient, namespace, name string, logOptions *corev1.PodLogOptions, out io.Writer) error
func GetServiceNodesIP ¶
func QuickConnectAndRun ¶ added in v0.1.0
func QuickConnectUsingDefaultSSHKey ¶ added in v0.1.0
func WaitForController ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.