clientconfig

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: 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 logr.Logger, client client.Client) (node nificlient.NifiClient, err error)
	IsInternal() bool
	IsExternal() bool
	ClusterLabelString() string
	IsReady(log logr.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