backend

package
v0.0.0-...-2d36b0c Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConnectBrokers

func ConnectBrokers(kubeConfigPath string, namespace string) error

func ConnectGateway

func ConnectGateway(kubeConfigPath string, namespace string) error

func ConnectToZeebeCluster

func ConnectToZeebeCluster(k8Client internal.K8Client) (zbc.Client, func(), error)

func DisconnectBroker

func DisconnectBroker(kubeConfigPath string, namespace string, disconnectBrokerCfg DisconnectBrokerCfg) error

func DisconnectGateway

func DisconnectGateway(kubeConfigPath string, namespace string, disconnectGatewayCfg DisconnectGatewayCfg) error

Types

type Broker

type Broker struct {
	NodeId      int
	PartitionId int
	Role        string
}

type DisconnectBrokerCfg

type DisconnectBrokerCfg struct {
	Broker1Cfg   Broker
	Broker2Cfg   Broker
	OneDirection bool
}

type DisconnectGatewayCfg

type DisconnectGatewayCfg struct {
	DisconnectToAll bool
	OneDirection    bool
	BrokerCfg       Broker
}

Jump to

Keyboard shortcuts

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