Documentation
¶
Index ¶
- func DeleteNode(ctx context.Context, client kubernetes.Interface, restconfig *rest.Config, ...) error
- func DrainNode(ctx context.Context, client kubernetes.Interface, node *corev1.Node) error
- func GenerateAddNodeCommand(client kubernetes.Interface, primary bool) ([]string, *time.Time, error)
- func GetNodes(client kubernetes.Interface) (*types.HelmVMNodes, error)
- func IsHA(clientset kubernetes.Interface) (bool, error)
- func IsHelmVM(clientset kubernetes.Interface) (bool, error)
- func SyncExec(coreClient corev1client.CoreV1Interface, clientConfig *rest.Config, ...) (int, string, string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeleteNode ¶
func GenerateAddNodeCommand ¶
func GenerateAddNodeCommand(client kubernetes.Interface, primary bool) ([]string, *time.Time, error)
GenerateAddNodeCommand will generate the HelmVM node add command for a primary or secondary node
func GetNodes ¶
func GetNodes(client kubernetes.Interface) (*types.HelmVMNodes, error)
GetNodes will get a list of nodes with stats
Types ¶
This section is empty.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.