common

package
v0.7.6-release Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var NewNifiFromConfig = nificlient.NewFromConfig

NewNifiFromCluster points to the function for retrieving nifi clients, use as var so it can be overwritten from unit tests

Functions

func NewClusterConnection

func NewClusterConnection(log logr.Logger, config *clientconfig.NifiConfig) (node nificlient.NifiClient, err error)

newNodeConnection is a convenience wrapper for creating a node connection and creating a safer close function

Types

type RequeueConfig

type RequeueConfig struct {
	UserRequeueInterval             int
	RegistryClientRequeueInterval   int
	ParameterContextRequeueInterval int
	UserGroupRequeueInterval        int
	DataFlowRequeueInterval         int
	ClusterTaskRequeueIntervals     map[string]int
	RequeueOffset                   int
}

func NewRequeueConfig

func NewRequeueConfig() *RequeueConfig

Jump to

Keyboard shortcuts

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