nodestate

package
v0.0.0-...-2edc924 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckIfNodeReachableOnPort

func CheckIfNodeReachableOnPort(host, port string) bool

CheckIfNodeReachableOnPort checks that the provided node is reachable on a specific TCP port.

func WaitForIBUToBeAvailable

func WaitForIBUToBeAvailable(
	apiClient *clients.Settings,
	ibu *lca.ImageBasedUpgradeBuilder,
	timeout time.Duration) error

WaitForIBUToBeAvailable waits the specified timeout for the ibu resource to be retrievable.

func WaitForNodeToBeReachable

func WaitForNodeToBeReachable(host, port string, timeout time.Duration) (bool, error)

WaitForNodeToBeReachable waits the specified timeout for the host to be reachable on the provided TCP port.

func WaitForNodeToBeUnreachable

func WaitForNodeToBeUnreachable(host, port string, timeout time.Duration) (bool, error)

WaitForNodeToBeUnreachable waits the specified timeout for the host to be unreachable on the provided TCP port.

Types

This section is empty.

Jump to

Keyboard shortcuts

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