cluster

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jun 22, 2020 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package cluster contains utilities to interact with the apate cluster and kubernetes cluster

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RemoveNodeWithUUID

func RemoveNodeWithUUID(uuid uuid.UUID, st *store.Store, cl *kubernetes.ClusterAPI) (apate bool, k8s bool, err error)

RemoveNodeWithUUID removes the apatelet with the given uuid from the cluster (both apate and k8s) The booleans returned will indicate whether the removal from the apate and kubernetes cluster was successful

func RemoveNodesWithUUID

func RemoveNodesWithUUID(uuids []uuid.UUID, st *store.Store, cl *kubernetes.ClusterAPI) (err error)

RemoveNodesWithUUID removes the apatelets with the given uuids from the cluster (both apate and k8s)

Types

This section is empty.

Directories

Path Synopsis
Package watchdog contains the functions for removing an apatelet fully from the cluster and functions to ensure all unhealthy nodes are removed from the cluster
Package watchdog contains the functions for removing an apatelet fully from the cluster and functions to ensure all unhealthy nodes are removed from the cluster

Jump to

Keyboard shortcuts

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