clientconfig

package
v1.11.4-release Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	NifiDefaultTimeout = int64(5)
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ClusterConnect

type ClusterConnect interface {
	// NodeConnection(log zap.Logger, client client.Client) (node nificlient.NifiClient, err error)
	IsInternal() bool
	IsExternal() bool
	ClusterLabelString() string
	IsReady(log zap.Logger) bool
	Id() string
}

type Manager

type Manager interface {
	BuildConfig() (*NifiConfig, error)
	BuildConnect() (ClusterConnect, error)
}

type NifiConfig

type NifiConfig struct {
	NodeURITemplate string
	NodesURI        map[int32]NodeUri
	NifiURI         string
	UseSSL          bool
	TLSConfig       *tls.Config
	ProxyUrl        string

	OperationTimeout   int64
	RootProcessGroupId string
	NodesContext       map[int32]context.Context

	SkipDescribeCluster bool
}

NifiConfig are the options to creating a new ClusterAdmin client.

type NodeUri

type NodeUri struct {
	HostListener string
	RequestHost  string
}

Jump to

Keyboard shortcuts

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