site

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 17, 2026 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClientPool

type ClientPool struct {
	IDClientMap map[string]tsdkClient.Client
	// contains filtered or unexported fields
}

ClientPool contains Temporal clients for different site agents

func NewClientPool

func NewClientPool(tcfg *cconfig.TemporalConfig) *ClientPool

NewClientPool initializes and returns a new client pool

func (*ClientPool) GetClientByID

func (cp *ClientPool) GetClientByID(siteID uuid.UUID) (tsdkClient.Client, error)

GetClientByID returns a Temporal client for given cluster ID

Jump to

Keyboard shortcuts

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