connection

package
v1.8.0-release Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConnectionExist

func ConnectionExist(connection *v1alpha1.NifiConnection, config *clientconfig.NifiConfig) (bool, error)

ConnectionExist check if the NifiConnection exist on NiFi Cluster.

func CreateConnection

CreateConnection will deploy the NifiDataflow on NiFi Cluster.

func DeleteConnection

func DeleteConnection(connection *v1alpha1.NifiConnection, config *clientconfig.NifiConfig) error

DeleteConnection implements the logic to delete a connection.

func DropConnectionFlowFiles

func DropConnectionFlowFiles(connection *v1alpha1.NifiConnection,
	config *clientconfig.NifiConfig) error

DropConnectionFlowFiles implements the logic to drop the flowfiles from a connection.

func GetConnectionInformation

func GetConnectionInformation(connection *v1alpha1.NifiConnection, config *clientconfig.NifiConfig) (*nigoapi.ConnectionEntity, error)

GetConnectionInformation retrieve the connection information.

func IsOutOfSyncConnection

func IsOutOfSyncConnection(connection *v1alpha1.NifiConnection,
	source *v1alpha1.ComponentInformation, destination *v1alpha1.ComponentInformation,
	config *clientconfig.NifiConfig) (bool, error)

IsOutOfSyncConnection control if the deployed connection is out of sync with the NifiConnection resource.

func SyncConnectionConfig

SyncConnectionConfig implements the logic to sync a NifiConnection config with the deployed connection config.

func SyncConnectionDestination

func SyncConnectionDestination(connection *v1alpha1.NifiConnection, destination *v1alpha1.ComponentInformation,
	config *clientconfig.NifiConfig) (*v1alpha1.NifiConnectionStatus, error)

SyncConnectionDestination implements the logic to sync a NifiConnection with the deployed connection destination.

Types

This section is empty.

Jump to

Keyboard shortcuts

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