Documentation ¶
Index ¶
- func CheckIfNCActionStepFinished(actionStep v1.ActionStep, config *clientconfig.NifiConfig, nodeId string) (bool, error)
- func ConnectClusterNode(config *clientconfig.NifiConfig, nodeId string) (v1.ActionStep, string, error)
- func DisconnectClusterNode(config *clientconfig.NifiConfig, nodeId string) (v1.ActionStep, string, error)
- func EnsureRemovedNodes(config *clientconfig.NifiConfig, cluster *v1.NifiCluster) error
- func OffloadClusterNode(config *clientconfig.NifiConfig, nodeId string) (v1.ActionStep, string, error)
- func RemoveClusterNode(config *clientconfig.NifiConfig, nodeId string) (v1.ActionStep, string, error)
- func UpScaleCluster(nodeId, namespace, clusterName string) (v1.ActionStep, string, error)
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.
Click to show internal directories.
Click to hide internal directories.