Documentation ¶
Index ¶
- Constants
- func CordonNode(ctx context.Context, k8s *kubernetes.Clientset, node *corev1.Node, ...) error
- func CreateNginxPodInNode(ctx context.Context, k8s *kubernetes.Clientset, ...) error
- func DeleteNode(ctx context.Context, k8s *kubernetes.Clientset, name string) error
- func DeletePod(ctx context.Context, k8s *kubernetes.Clientset, name, namespace string) error
- func DrainNode(ctx context.Context, k8s *kubernetes.Clientset, node *corev1.Node) error
- func EnsureNodeWithIPIsDeleted(ctx context.Context, k8s *kubernetes.Clientset, internalIP string) error
- func ExecPod(ctx context.Context, config *restclient.Config, k8s *kubernetes.Clientset, ...) (stdout, stderr string, err error)
- func GetNginxPodName(name string) string
- func GetPodLogs(ctx context.Context, k8s *kubernetes.Clientset, name, namespace string) (string, error)
- func IsPreviousVersionSupported(kubernetesVersion string) (bool, error)
- func PreviousVersion(kubernetesVersion string) (string, error)
- func UncordonNode(ctx context.Context, k8s *kubernetes.Clientset, node *corev1.Node) error
- func WaitForHybridNodeToBeNotReady(ctx context.Context, k8s *kubernetes.Clientset, nodeName string, ...) error
- func WaitForHybridNodeToBeReady(ctx context.Context, k8s *kubernetes.Clientset, nodeName string, ...) error
- func WaitForNode(ctx context.Context, k8s *kubernetes.Clientset, internalIP string, ...) (*corev1.Node, error)
- func WaitForNodeToHaveVersion(ctx context.Context, k8s *kubernetes.Clientset, nodeName, targetVersion string, ...) (*corev1.Node, error)
- type VerifyNode
Constants ¶
View Source
const (
MinimumVersion = "1.25"
)
Variables ¶
This section is empty.
Functions ¶
func CordonNode ¶
func CreateNginxPodInNode ¶
func DeleteNode ¶
func ExecPod ¶
func ExecPod(ctx context.Context, config *restclient.Config, k8s *kubernetes.Clientset, name, namespace string, cmd ...string) (stdout, stderr string, err error)
func GetNginxPodName ¶
func GetPodLogs ¶
func PreviousVersion ¶
func UncordonNode ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.