scale

package
v1.11.4-release Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckIfNCActionStepFinished

func CheckIfNCActionStepFinished(actionStep v1.ActionStep, config *clientconfig.NifiConfig, 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 []v1.Node, serverPort int32, nodeId, namespace, clusterName string.

func ConnectClusterNode

func ConnectClusterNode(config *clientconfig.NifiConfig, nodeId string) (v1.ActionStep, string, error)

ConnectClusterNode, perform node connection.

func DisconnectClusterNode

func DisconnectClusterNode(config *clientconfig.NifiConfig, nodeId string) (v1.ActionStep, string, error)

DisconnectClusterNode, perform a node disconnection.

func EnsureRemovedNodes

func EnsureRemovedNodes(config *clientconfig.NifiConfig, cluster *v1.NifiCluster) error

func OffloadClusterNode

func OffloadClusterNode(config *clientconfig.NifiConfig, nodeId string) (v1.ActionStep, string, error)

OffloadCluster, perform offload data from a node.

func RemoveClusterNode

func RemoveClusterNode(config *clientconfig.NifiConfig, nodeId string) (v1.ActionStep, string, error)

RemoveClusterNode, perform node connection.

func UpScaleCluster

func UpScaleCluster(nodeId, namespace, clusterName string) (v1.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.

Jump to

Keyboard shortcuts

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