cli

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2021 License: GPL-3.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetControllerNode

func GetControllerNode(c kubernetes.Interface, pod *corev1.Pod) (*corev1.Node, error)

GetControllerNode represents func for returning node struct on which controller pod is running

func GetControllerPod

func GetControllerPod(c kubernetes.Interface) (*corev1.Pod, error)

GetControllerPod represents func for returning controller pod struct

func RescheduleQuarantineController

func RescheduleQuarantineController(excludedNodes []string) error

RescheduleQuarantineController represents descheduling of quarantine controller if needed due to validation

func RunOperator

func RunOperator()

RunOperator represents starting the quarantine operator

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳