clientpool

package
v0.1.5 Latest Latest
Warning

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

Go to latest
Published: Aug 19, 2025 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClientInfo

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

type ClientPool

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

func New

func (*ClientPool) Close

func (cp *ClientPool) Close()

func (*ClientPool) GetSDKClient

func (cp *ClientPool) GetSDKClient(key ClientPoolKey, withMTLS bool) (sdkclient.Client, bool)

func (*ClientPool) UpsertClient

func (cp *ClientPool) UpsertClient(ctx context.Context, opts NewClientOptions) (sdkclient.Client, error)

type ClientPoolKey

type ClientPoolKey struct {
	HostPort        string
	Namespace       string
	MutualTLSSecret string // Include secret name in key to invalidate cache when the secret name changes
}

type NewClientOptions

type NewClientOptions struct {
	TemporalNamespace string
	K8sNamespace      string
	Spec              v1alpha1.TemporalConnectionSpec
}

Jump to

Keyboard shortcuts

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