zeebe

package
v0.0.0-...-ebb33e4 Latest Latest
Warning

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

Go to latest
Published: May 18, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrMissingGatewayAddr = errors.New("gatewayAddr is a required attribute")

Functions

func VariableStringToArray

func VariableStringToArray(variableString string) []string

Types

type ClientFactory

type ClientFactory interface {
	Get(metadata bindings.Metadata) (zbc.Client, error)
}

ClientFactory enables injection for testing.

type ClientFactoryImpl

type ClientFactoryImpl struct {
	// contains filtered or unexported fields
}

func NewClientFactoryImpl

func NewClientFactoryImpl(logger logger.Logger) *ClientFactoryImpl

NewClientFactoryImpl returns a new ClientFactory instance.

func (*ClientFactoryImpl) Get

func (c *ClientFactoryImpl) Get(metadata bindings.Metadata) (zbc.Client, error)

type ClientMetadata

type ClientMetadata struct {
	GatewayAddr            string        `json:"gatewayAddr" mapstructure:"gatewayAddr"`
	GatewayKeepAlive       time.Duration `json:"gatewayKeepAlive" mapstructure:"gatewayKeepAlive"`
	CaCertificatePath      string        `json:"caCertificatePath" mapstructure:"caCertificatePath"`
	UsePlaintextConnection bool          `json:"usePlainTextConnection,string" mapstructure:"usePlainTextConnection"`
}

https://docs.zeebe.io/operations/authentication.html

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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