Documentation ¶
Index ¶
- func CheckIfNCActionStepFinished(actionStep v1alpha1.ActionStep, client client.Client, ...) (bool, error)
- func ConnectClusterNode(client client.Client, cluster *v1alpha1.NifiCluster, nodeId string) (v1alpha1.ActionStep, string, error)
- func DisconnectClusterNode(client client.Client, cluster *v1alpha1.NifiCluster, nodeId string) (v1alpha1.ActionStep, string, error)
- func EnsureRemovedNodes(client client.Client, cluster *v1alpha1.NifiCluster) error
- func OffloadClusterNode(client client.Client, cluster *v1alpha1.NifiCluster, nodeId string) (v1alpha1.ActionStep, string, error)
- func RemoveClusterNode(client client.Client, cluster *v1alpha1.NifiCluster, nodeId string) (v1alpha1.ActionStep, string, error)
- func UpScaleCluster(nodeId, namespace, clusterName string) (v1alpha1.ActionStep, string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckIfNCActionStepFinished ¶
func CheckIfNCActionStepFinished(actionStep v1alpha1.ActionStep, client client.Client, cluster *v1alpha1.NifiCluster, nodeId string) (bool, error)
TODO : rework to check if state is consistent (If waiting removing but disconnected ... CheckIfCCTaskFinished checks whether the given CC Task ID finished or not headlessServiceEnabled bool, availableNodes []v1alpha1.Node, serverPort int32, nodeId, namespace, clusterName string
func ConnectClusterNode ¶
func ConnectClusterNode(client client.Client, cluster *v1alpha1.NifiCluster, nodeId string) (v1alpha1.ActionStep, string, error)
ConnectClusterNode, perform node connection.
func DisconnectClusterNode ¶
func DisconnectClusterNode(client client.Client, cluster *v1alpha1.NifiCluster, nodeId string) (v1alpha1.ActionStep, string, error)
DisconnectClusterNode, perform a node disconnection
func EnsureRemovedNodes ¶
func EnsureRemovedNodes(client client.Client, cluster *v1alpha1.NifiCluster) error
func OffloadClusterNode ¶
func OffloadClusterNode(client client.Client, cluster *v1alpha1.NifiCluster, nodeId string) (v1alpha1.ActionStep, string, error)
OffloadCluster, perform offload data from a node.
func RemoveClusterNode ¶
func RemoveClusterNode(client client.Client, cluster *v1alpha1.NifiCluster, nodeId string) (v1alpha1.ActionStep, string, error)
RemoveClusterNode, perform node connection.
func UpScaleCluster ¶
func UpScaleCluster(nodeId, namespace, clusterName string) (v1alpha1.ActionStep, string, error)
TODO : rework upscale to check that the node is connected before ending operation. UpScaleCluster upscales Nifi cluster
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.