dataflow

package
v0.0.0-...-6a6528c Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2021 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateDataflow

func CreateDataflow(
	client client.Client,
	flow *v1alpha1.NifiDataflow,
	cluster *v1alpha1.NifiCluster,
	registry *v1alpha1.NifiRegistryClient) (*v1alpha1.NifiDataflowStatus, error)

CreateDataflow will deploy the NifiDataflow on NiFi Cluster

func DataflowExist

func DataflowExist(client client.Client, flow *v1alpha1.NifiDataflow, cluster *v1alpha1.NifiCluster) (bool, error)

DataflowExist check if the NifiDataflow exist on NiFi Cluster

func IsOutOfSyncDataflow

func IsOutOfSyncDataflow(
	client client.Client,
	flow *v1alpha1.NifiDataflow,
	cluster *v1alpha1.NifiCluster,
	registry *v1alpha1.NifiRegistryClient,
	parameterContext *v1alpha1.NifiParameterContext) (bool, error)

IsOutOfSyncDataflow control if the deployed dataflow is out of sync with the NifiDataflow resource

func RemoveDataflow

func RemoveDataflow(
	client client.Client,
	flow *v1alpha1.NifiDataflow,
	cluster *v1alpha1.NifiCluster) (*v1alpha1.NifiDataflowStatus, error)

func RootProcessGroup

func RootProcessGroup(client client.Client, cluster *v1alpha1.NifiCluster) (string, error)

func ScheduleDataflow

func ScheduleDataflow(client client.Client, flow *v1alpha1.NifiDataflow, cluster *v1alpha1.NifiCluster) error

ScheduleDataflow will schedule the controller services and components of the NifiDataflow.

func SyncDataflow

func SyncDataflow(
	client client.Client,
	flow *v1alpha1.NifiDataflow,
	cluster *v1alpha1.NifiCluster,
	registry *v1alpha1.NifiRegistryClient,
	parameterContext *v1alpha1.NifiParameterContext) (*v1alpha1.NifiDataflowStatus, error)

SyncDataflow implements the logic to sync a NifiDataflow with the deployed flow.

func UnscheduleDataflow

func UnscheduleDataflow(client client.Client, flow *v1alpha1.NifiDataflow, cluster *v1alpha1.NifiCluster) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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