common

package
v1.10.0-release Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2024 License: Apache-2.0 Imports: 5 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 CustomLogger

func CustomLogger() *zap.Logger

func NewClusterConnection

func NewClusterConnection(log *zap.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.

func NewLogLevel

func NewLogLevel(lvl string) (zapcore.Level, bool)

Types

type RequeueConfig

type RequeueConfig struct {
	UserRequeueInterval                int
	RegistryClientRequeueInterval      int
	NodeGroupAutoscalerRequeueInterval int
	ParameterContextRequeueInterval    int
	UserGroupRequeueInterval           int
	DataFlowRequeueInterval            int
	ConnectionRequeueInterval          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